summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-renamed-cmdline.rs
blob: c873771e3081c29845954643848e56ddc6631198 (plain)
1
2
3
4
5
6
7
8
// compile-flags:-D bare_trait_object

// 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 = (); }