1 #![warn(anonymous_parameters)]
2 // Test for the anonymous_parameters deprecation lint (RFC 1685)
9 fn foo(_: i32); //~ WARNING anonymous parameters are deprecated
10 //~| WARNING this is accepted in the current edition
12 fn bar_with_default_impl(_: String, _: String) {}
13 //~^ WARNING anonymous parameters are deprecated
14 //~| WARNING this is accepted in the current edition
15 //~| WARNING anonymous parameters are deprecated
16 //~| WARNING this is accepted in the current edition