]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/bare-trait-objects-path.rs
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / lint / bare-trait-objects-path.rs
index 0a7c5a8dbd10b44b374fd8d1b67eddd049389c63..0e2294715cd8bb1762c950efa68ec354e445b750 100644 (file)
@@ -21,4 +21,6 @@ fn main() {
     //~^ WARN trait objects without an explicit `dyn` are deprecated
     //~| WARN this is accepted in the current edition
     let _: Dyn::Ty; //~ ERROR ambiguous associated type
+    //~^ WARN trait objects without an explicit `dyn` are deprecated
+    //~| WARN this is accepted in the current edition
 }