1 error[E0310]: the parameter type `T` may not live long enough
2 --> $DIR/builtin-superkinds-self-type.rs:10:16
4 LL | impl <T: Sync> Foo for T { }
5 | ^^^ ...so that the type `T` will meet its required lifetime bounds...
7 note: ...that is required by this bound
8 --> $DIR/builtin-superkinds-self-type.rs:6:24
10 LL | trait Foo : Sized+Sync+'static {
12 help: consider adding an explicit lifetime bound...
14 LL | impl <T: Sync + 'static> Foo for T { }
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0310`.