From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../ui/resolve/resolve-assoc-suggestions.stderr | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/test/ui/resolve/resolve-assoc-suggestions.stderr (limited to 'src/test/ui/resolve/resolve-assoc-suggestions.stderr') diff --git a/src/test/ui/resolve/resolve-assoc-suggestions.stderr b/src/test/ui/resolve/resolve-assoc-suggestions.stderr new file mode 100644 index 000000000..b6acaeb8c --- /dev/null +++ b/src/test/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 call 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`. -- cgit v1.2.3