about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/unresolved_lifetimes_error.stderr
blob: ae074373da27596d9c497f31e36d5d5337294ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0261]: use of undeclared lifetime name `'a`
  --> $DIR/unresolved_lifetimes_error.rs:5:13
   |
LL |     let a: &'a ();
   |             ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | fn foo<'a>() -> [(); {
   |       ++++

error: aborting due to 1 previous error

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