]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/assoc-type.stderr
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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`.