mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
10 lines
342 B
Rust
10 lines
342 B
Rust
//@ 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:`#[warn(renamed_and_removed_lints)]` on by default
|
|
//@ error-pattern:unused
|
|
|
|
#[deny(unused)]
|
|
fn main() { let unused = (); }
|