blob: 4799429ea2c69317f6e084e84fd4ccea37578160 [file] [log] [blame]
// compile-flags: --force-warn elided_lifetimes_in_paths -Zunstable-options
// check-pass
struct Foo<'a> {
x: &'a u32,
}
fn foo(x: &Foo) {}
//~^ WARN hidden lifetime parameters in types are deprecated
fn main() {}