mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
9 lines
269 B
Rust
9 lines
269 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:unused
|
|
|
|
#[deny(unused)]
|
|
fn main() { let unused = (); }
|