]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/lint/bare-trait-objects-path.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / bare-trait-objects-path.stderr
index 8ed303ca6069c108049f12d0407d4ca87e6c3c54..a19f4963c239bc6ef90f601ee534cf35ed31ef8b 100644 (file)
@@ -16,7 +16,7 @@ error[E0223]: ambiguous associated type
   --> $DIR/bare-trait-objects-path.rs:23:12
    |
 LL |     let _: Dyn::Ty;
-   |            ^^^^^^^ help: use fully-qualified syntax: `<dyn Dyn as Trait>::Ty`
+   |            ^^^^^^^ help: use the fully-qualified path: `<dyn Dyn as Assoc>::Ty`
 
 warning: trait objects without an explicit `dyn` are deprecated
   --> $DIR/bare-trait-objects-path.rs:14:5