]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-16048.stderr
added function to check if lints belong to an external macro
[rust.git] / src / test / ui / issue-16048.stderr
1 error[E0195]: lifetime parameters or bounds on method `get` do not match the trait declaration
2   --> $DIR/issue-16048.rs:31:11
3    |
4 LL |     fn get<'p, T : Test<'p>>(&self) -> T;
5    |           ------------------ lifetimes in impl do not match this method in trait
6 ...
7 LL |     fn get<'p, T : Test<'a>>(&self) -> T {
8    |           ^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0195`.