]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr
Add new error code
[rust.git] / src / test / ui / resolve / suggest-path-instead-of-mod-dot-item.stderr
index 85fb1777dea233abf7e71dd53e577a29a7ba84b5..a34c27a47da8288892b482a4f6043f34cf56b902 100644 (file)
@@ -26,8 +26,9 @@ error[E0423]: expected value, found module `a::b`
   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5
    |
 45 |     a::b.J
-   |     ^^^^--
-   |     |
+   |     ^^^---
+   |     |  |
+   |     |  did you mean `I`?
    |     did you mean `a::b::J`?
 
 error[E0423]: expected value, found module `a`
@@ -50,8 +51,9 @@ error[E0423]: expected value, found module `a::b`
   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:61:5
    |
 61 |     a::b.f()
-   |     ^^^^----
-   |     |
+   |     ^^^-----
+   |     |  |
+   |     |  did you mean `I`?
    |     did you mean `a::b::f(...)`?
 
 error[E0423]: expected value, found module `a::b`
@@ -70,7 +72,7 @@ error[E0423]: expected function, found module `a::b`
    |        |
    |        did you mean `I`?
 
-error: main function not found
+error[E0601]: main function not found
 
-error: aborting due to 10 previous errors
+error: aborting due to previous error(s)