2024-02-16 14:02:50 -06:00
|
|
|
//@ compile-flags:-D renamed-and-removed-lints -D bare_trait_object
|
2023-08-30 08:19:53 -05:00
|
|
|
|
2024-02-16 14:02:50 -06:00
|
|
|
//@ error-pattern:lint `bare_trait_object` has been renamed to `bare_trait_objects`
|
|
|
|
//@ error-pattern:use the new name `bare_trait_objects`
|
|
|
|
//@ error-pattern:requested on the command line with `-D bare_trait_object`
|
|
|
|
//@ error-pattern:requested on the command line with `-D renamed-and-removed-lints`
|
|
|
|
//@ error-pattern:unused
|
2023-08-30 08:19:53 -05:00
|
|
|
|
|
|
|
#[deny(unused)]
|
|
|
|
fn main() { let unused = (); }
|