]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0424.stderr
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / error-codes / E0424.stderr
index 20b7a4cb6ece6a52ca503fb1265497ffb15dac37..d02da3e4ecb8a78cd1305bd3f716c9827926b8aa 100644 (file)
@@ -9,7 +9,7 @@ LL |         self.bar();
 help: add a `self` receiver parameter to make the associated `fn` a method
    |
 LL |     fn foo(&self) {
-   |            ^^^^^
+   |            +++++
 
 error[E0424]: expected value, found module `self`
   --> $DIR/E0424.rs:11:9
@@ -22,7 +22,7 @@ LL |         self.bar();
 help: add a `self` receiver parameter to make the associated `fn` a method
    |
 LL |     fn baz(&self, _: i32) {
-   |            ^^^^^^
+   |            ++++++
 
 error[E0424]: expected value, found module `self`
   --> $DIR/E0424.rs:15:20
@@ -35,7 +35,7 @@ LL |         let _ = || self.bar();
 help: add a `self` receiver parameter to make the associated `fn` a method
    |
 LL |     fn qux(&self) {
-   |            ^^^^^
+   |            +++++
 
 error[E0424]: expected unit struct, unit variant or constant, found module `self`
   --> $DIR/E0424.rs:20:9