From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/suggestions/assoc-const-as-field.stderr | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/ui/suggestions/assoc-const-as-field.stderr (limited to 'tests/ui/suggestions/assoc-const-as-field.stderr') diff --git a/tests/ui/suggestions/assoc-const-as-field.stderr b/tests/ui/suggestions/assoc-const-as-field.stderr new file mode 100644 index 000000000..78e5634b2 --- /dev/null +++ b/tests/ui/suggestions/assoc-const-as-field.stderr @@ -0,0 +1,9 @@ +error[E0423]: expected value, found struct `Mod::Foo` + --> $DIR/assoc-const-as-field.rs:11:9 + | +LL | foo(Mod::Foo.Bar); + | ^^^^^^^^- help: use the path separator to refer to an item: `::` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0423`. -- cgit v1.2.3