summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issue-60473.stderr
blob: 367b5db5d2dceefe43b8a7ca83b44eb497cba621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0106]: missing lifetime specifier
  --> $DIR/issue-60473.rs:13:23
   |
LL |     let x: impl Trait<A> = ();
   |                       ^ expected named lifetime parameter
   |
help: consider introducing a named lifetime parameter
   |
LL | fn main<'a>() {
LL |     let x: impl Trait<A<'a>> = ();
   |

error: aborting due to previous error

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