rust/src/test/ui/issues/issue-58856-2.stderr

31 lines
911 B
Plaintext
Raw Normal View History

error: expected one of `)` or `,`, found `->`
--> $DIR/issue-58856-2.rs:6:26
|
LL | fn how_are_you(&self -> Empty {
| - -^^
| | |
| | help: `)` may belong here
| unclosed delimiter
2020-02-14 18:50:26 -06:00
error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `static`, `type`, `unsafe`, `}`, or identifier, found `)`
--> $DIR/issue-58856-2.rs:11:1
|
LL | }
2020-02-14 18:50:26 -06:00
| - expected one of 12 possible tokens
LL | }
| ^ unexpected token
error[E0407]: method `how_are_you` is not a member of trait `Howness`
--> $DIR/issue-58856-2.rs:6:5
|
LL | / fn how_are_you(&self -> Empty {
2019-03-09 06:03:44 -06:00
LL | |
LL | |
LL | | Empty
LL | | }
| |_____^ not a member of trait `Howness`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0407`.