rust/src/test/ui/future-incompatible-lint-group.rs

9 lines
175 B
Rust
Raw Normal View History

#![deny(future_incompatible)]
2016-10-07 04:23:41 -05:00
trait Tr {
2018-02-17 17:33:27 -06:00
fn f(u8) {} //~ ERROR anonymous parameters are deprecated
//~^ WARN this was previously accepted
2016-10-07 04:23:41 -05:00
}
fn main() {}