anchor.diff:      ToolbarComponent,
       ToolbarPart,
     ],
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class TemplateRefTransplantComponent {
     String prop = 'From component';
  
positive.code:   selector: 'cmp-with-host',
    template: '<p>Component with an injected host</p>',
    directives: const [SomeDirective],
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class CompWithHost {
    SomeDirective myHost;
  
negative.code: 
  @Directive(
    selector: 'some-directive',
    visibility: Visibility.all,
  )
  class SomeDirective {}
  