]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generics/generic-lifetime-trait-impl.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / generics / generic-lifetime-trait-impl.stderr
CommitLineData
b7449926 1error[E0195]: lifetime parameters or bounds on method `bar` do not match the trait declaration
0731742a 2 --> $DIR/generic-lifetime-trait-impl.rs:19:11
b7449926
XL
3 |
4LL | fn bar<'b, T: Bar<'b>>(self) -> &'b str;
5 | ---------------- lifetimes in impl do not match this method in trait
6...
532ac7d7 7LL | fn bar<T: Bar<'a>>(self) -> &'a str { panic!() }
b7449926
XL
8 | ^^^^^^^^^^^^ lifetimes do not match method in trait
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0195`.