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