]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/issue-21221-2.stderr
Add new error code
[rust.git] / src / test / ui / resolve / issue-21221-2.stderr
index 14dac7de4b2e13af1aa4796bdcc75fa3830b189c..b35f1bd26706ccfc5bafcf5b03018d13ac9159a8 100644 (file)
@@ -4,10 +4,10 @@ error[E0405]: cannot find trait `T` in this scope
 28 | impl T for Foo { }
    |      ^ not found in this scope
    |
-   = help: possible candidate is found in another module, you can import it into scope:
-             `use foo::bar::T;`
+help: possible candidate is found in another module, you can import it into scope
+   | use foo::bar::T;
 
-error: main function not found
+error[E0601]: main function not found
 
 error: cannot continue compilation due to previous error