]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/assoc-type.stderr
Rollup merge of #99810 - GuillaumeGomez:fix-settings-slider-small-width, r=notriddle
[rust.git] / src / test / ui / impl-header-lifetime-elision / assoc-type.stderr
1 error[E0637]: `&` without an explicit lifetime name cannot be used here
2   --> $DIR/assoc-type.rs:11:19
3    |
4 LL |     type Output = &i32;
5    |                   ^ explicit lifetime name needed here
6
7 error[E0637]: `'_` cannot be used here
8   --> $DIR/assoc-type.rs:16:20
9    |
10 LL |     type Output = &'_ i32;
11    |                    ^^ `'_` is a reserved lifetime name
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0637`.