]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/assoc_fn_without_self.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / suggestions / assoc_fn_without_self.stderr
index 4a0e62e73093b564c7c70a612e271dcc5d78c1ee..88920b852905be955928e756c18aaf04cbaf21e6 100644 (file)
@@ -1,9 +1,3 @@
-error[E0425]: cannot find function `foo` in this scope
-  --> $DIR/assoc_fn_without_self.rs:14:13
-   |
-LL |             foo();
-   |             ^^^ not found in this scope
-
 error[E0425]: cannot find function `foo` in this scope
   --> $DIR/assoc_fn_without_self.rs:16:9
    |
@@ -32,6 +26,12 @@ help: consider using the associated function
 LL |         Self::baz(2, 3);
    |         ~~~~~~~~~
 
+error[E0425]: cannot find function `foo` in this scope
+  --> $DIR/assoc_fn_without_self.rs:14:13
+   |
+LL |             foo();
+   |             ^^^ not found in this scope
+
 error: aborting due to 4 previous errors
 
 For more information about this error, try `rustc --explain E0425`.