]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-10465.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-10465.stderr
index eb32c8db3f6687b384c2d577eff99e555a257748..0ccf69dc0607615580af4d1ee77df8d12710ff69 100644 (file)
@@ -5,8 +5,10 @@ LL |             b.foo();
    |               ^^^ method not found in `&B`
    |
    = help: items from traits can only be used if the trait is in scope
-   = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
-           `use a::A;`
+help: the following trait is implemented but not in scope; perhaps add a `use` for it:
+   |
+LL |         use a::A;
+   |
 
 error: aborting due to previous error