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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
337 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:`#[warn(renamed_and_removed_lints)]` on by default
// error-pattern:unused
#[deny(unused)]
fn main() { let unused = (); }