2018-07-23 06:22:23 -05:00
|
|
|
//@ compile-flags:-D bare_trait_object
|
2016-01-13 12:54:06 -06:00
|
|
|
|
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`
|
2023-08-28 14:28:51 -05:00
|
|
|
//@ error-pattern:`#[warn(renamed_and_removed_lints)]` on by default
|
2016-01-13 12:54:06 -06:00
|
|
|
//@ error-pattern:unused
|
|
|
|
|
|
|
|
#[deny(unused)]
|
|
|
|
fn main() { let unused = (); }
|