]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/projection-type-lifetime-mismatch.stderr
Don't suggest adding `'static` lifetime to arguments
[rust.git] / src / test / ui / generic-associated-types / projection-type-lifetime-mismatch.stderr
1 error[E0621]: explicit lifetime required in the type of `x`
2   --> $DIR/projection-type-lifetime-mismatch.rs:18:5
3    |
4 LL |     x.m()
5    |     ^^^^^ lifetime `'static` required
6
7 error[E0621]: explicit lifetime required in the type of `x`
8   --> $DIR/projection-type-lifetime-mismatch.rs:23:5
9    |
10 LL |     x.m()
11    |     ^^^^^ lifetime `'static` required
12
13 error[E0621]: explicit lifetime required in the type of `x`
14   --> $DIR/projection-type-lifetime-mismatch.rs:28:5
15    |
16 LL |     x.m()
17    |     ^^^^^ lifetime `'static` required
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0621`.