diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /tests/ui/resolve/resolve-assoc-suggestions.stderr | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/resolve/resolve-assoc-suggestions.stderr')
-rw-r--r-- | tests/ui/resolve/resolve-assoc-suggestions.stderr | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/ui/resolve/resolve-assoc-suggestions.stderr b/tests/ui/resolve/resolve-assoc-suggestions.stderr new file mode 100644 index 000000000..8def9aa20 --- /dev/null +++ b/tests/ui/resolve/resolve-assoc-suggestions.stderr @@ -0,0 +1,58 @@ +error[E0412]: cannot find type `field` in this scope + --> $DIR/resolve-assoc-suggestions.rs:16:16 + | +LL | let _: field; + | ^^^^^ not found in this scope + +error[E0531]: cannot find tuple struct or tuple variant `field` in this scope + --> $DIR/resolve-assoc-suggestions.rs:18:13 + | +LL | let field(..); + | ^^^^^ not found in this scope + +error[E0425]: cannot find value `field` in this scope + --> $DIR/resolve-assoc-suggestions.rs:20:9 + | +LL | field; + | ^^^^^ help: you might have meant to use the available field: `self.field` + +error[E0412]: cannot find type `Type` in this scope + --> $DIR/resolve-assoc-suggestions.rs:23:16 + | +LL | let _: Type; + | ^^^^ help: you might have meant to use the associated type: `Self::Type` + +error[E0531]: cannot find tuple struct or tuple variant `Type` in this scope + --> $DIR/resolve-assoc-suggestions.rs:25:13 + | +LL | let Type(..); + | ^^^^ not found in this scope + +error[E0425]: cannot find value `Type` in this scope + --> $DIR/resolve-assoc-suggestions.rs:27:9 + | +LL | Type; + | ^^^^ not found in this scope + +error[E0412]: cannot find type `method` in this scope + --> $DIR/resolve-assoc-suggestions.rs:30:16 + | +LL | let _: method; + | ^^^^^^ not found in this scope + +error[E0531]: cannot find tuple struct or tuple variant `method` in this scope + --> $DIR/resolve-assoc-suggestions.rs:32:13 + | +LL | let method(..); + | ^^^^^^ not found in this scope + +error[E0425]: cannot find value `method` in this scope + --> $DIR/resolve-assoc-suggestions.rs:34:9 + | +LL | method; + | ^^^^^^ help: you might have meant to refer to the method: `self.method` + +error: aborting due to 9 previous errors + +Some errors have detailed explanations: E0412, E0425, E0531. +For more information about an error, try `rustc --explain E0412`. |