summary refs log tree commit diff
path: root/src/test/ui/feature-gate-underscore-lifetimes.stderr
blob: 875b958aa8804ed0f74b2c67b1ebfda3ff10b234 (plain)
1
2
3
4
5
6
7
8
9
10
error: underscore lifetimes are unstable (see issue #44524)
  --> $DIR/feature-gate-underscore-lifetimes.rs:13:23
   |
13 | fn foo(x: &u8) -> Foo<'_> { //~ ERROR underscore lifetimes are unstable
   |                       ^^
   |
   = help: add #![feature(underscore_lifetimes)] to the crate attributes to enable

error: aborting due to previous error