1 // aux-build:issue-61963.rs
2 // aux-build:issue-61963-1.rs
3 #![deny(bare_trait_objects)]
6 extern crate issue_61963;
8 extern crate issue_61963_1;
10 // This test checks that the bare trait object lint does not trigger on macro attributes that
11 // generate code which would trigger the lint.
21 //~^ ERROR trait objects without an explicit `dyn` are deprecated [bare_trait_objects]