rust/tests/ui/lint/lint-renamed-cmdline.rs

9 lines
269 B
Rust
Raw Normal View History

2018-07-23 06:22:23 -05:00
// compile-flags:-D bare_trait_object
2018-07-23 06:22:23 -05:00
// error-pattern:lint `bare_trait_object` has been renamed to `bare_trait_objects`
// error-pattern:requested on the command line with `-D bare_trait_object`
// error-pattern:unused
#[deny(unused)]
fn main() { let unused = (); }