]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-header-lifetime-elision/assoc-type.stderr
Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09
[rust.git] / tests / 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`.