Closed
Description
#![deny(rust_2018_idioms)]
struct Bar<'a> { x: &'a u8 }
struct Foo(Bar);
error: hidden lifetime parameters in types are deprecated
--> src/lib.rs:6:12
|
6 | struct Foo(Bar);
| ^^^- help: indicate the anonymous lifetime: `<'_>`
|
Except that using '_
is not allowed in the type definition...