summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/outer-lifetime-in-const-generic-default.stderr
blob: 9d9555d3f647f396c89ecd3c16610dbadf6d219e (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0771]: use of non-static lifetime `'a` in const generic
  --> $DIR/outer-lifetime-in-const-generic-default.rs:4:17
   |
LL |         let x: &'a ();
   |                 ^^
   |
   = note: for more information, see issue #74052 <https://github.com/rust-lang/rust/issues/74052>

error: aborting due to previous error

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