]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-58856-2.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-58856-2.stderr
index 01d70d861e2c93f572e014c0dbc6d2c880ecc64c..303b5eacc3296c277520d103960605b038b88b6c 100644 (file)
@@ -7,13 +7,17 @@ LL |     fn how_are_you(&self -> Empty {
    |                   |     help: `)` may belong here
    |                   unclosed delimiter
 
-error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or `}`, found `)`
+error: non-item in item list
   --> $DIR/issue-58856-2.rs:11:1
    |
-LL |     }
-   |      - expected one of 10 possible tokens
+LL | impl Howness for () {
+   |                     - item list starts here
+...
 LL | }
-   | ^ unexpected token
+   | ^
+   | |
+   | non-item starts here
+   | item list ends here
 
 error[E0407]: method `how_are_you` is not a member of trait `Howness`
   --> $DIR/issue-58856-2.rs:6:5