diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-03-27 17:15:16 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-03-27 17:15:16 -0700 |
| commit | c963d613a2275d5c9b31cd7124dda2f2af61deb6 (patch) | |
| tree | 9582b5ee80d16754374ab1ae47d413df395dd917 /src/test | |
| parent | 57009caabd2a45a6efa4d36149feec39ab0a0658 (diff) | |
| download | rust-c963d613a2275d5c9b31cd7124dda2f2af61deb6.tar.gz rust-c963d613a2275d5c9b31cd7124dda2f2af61deb6.zip | |
Simplify error output
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/did_you_mean/issue-40006.stderr | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/test/ui/did_you_mean/issue-40006.stderr b/src/test/ui/did_you_mean/issue-40006.stderr index 93a0c58f91a..460958027ad 100644 --- a/src/test/ui/did_you_mean/issue-40006.stderr +++ b/src/test/ui/did_you_mean/issue-40006.stderr @@ -1,12 +1,8 @@ -error: can't qualify macro invocation with `pub` - --> $DIR/issue-40006.rs:14:5 +error: missing `fn` for method declaration + --> $DIR/issue-40006.rs:14:8 | 14 | pub hello_method(&self) { - | ^^^- - expected `!` here for a macro invocation - | | - | did you mean to write `fn` here for a method declaration? - | - = help: try adjusting the macro to put `pub` inside the invocation + | ^ missing `fn` error: aborting due to previous error |
