summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-header-lifetime-elision/assoc-type.stderr
blob: c4f27e0b80e41d5ba8a5b1424e6d39889482ec8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0637]: `&` without an explicit lifetime name cannot be used here
  --> $DIR/assoc-type.rs:11:19
   |
LL |     type Output = &i32;
   |                   ^ explicit lifetime name needed here

error[E0637]: `'_` cannot be used here
  --> $DIR/assoc-type.rs:16:20
   |
LL |     type Output = &'_ i32;
   |                    ^^ `'_` is a reserved lifetime name

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0637`.