]> git.proxmox.com Git - rustc.git/blame - src/test/ui/builtin-superkinds/builtin-superkinds-self-type.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / builtin-superkinds / builtin-superkinds-self-type.stderr
CommitLineData
b7449926 1error[E0310]: the parameter type `T` may not live long enough
0731742a 2 --> $DIR/builtin-superkinds-self-type.rs:10:16
b7449926
XL
3 |
4LL | impl <T: Sync> Foo for T { }
72b1a166 5 | -- ^^^ ...so that the type `T` will meet its required lifetime bounds
b7449926 6 | |
72b1a166 7 | help: consider adding an explicit lifetime bound...: `T: 'static +`
b7449926
XL
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0310`.