summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-52717.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-52717.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-52717.stderr b/src/test/ui/issues/issue-52717.stderr
new file mode 100644
index 000000000..468cdf2dc
--- /dev/null
+++ b/src/test/ui/issues/issue-52717.stderr
@@ -0,0 +1,12 @@
+error[E0026]: variant `A::A` does not have a field named `fob`
+ --> $DIR/issue-52717.rs:10:12
+ |
+LL | A::A { fob } => { println!("{}", fob); }
+ | ^^^
+ | |
+ | variant `A::A` does not have this field
+ | help: a field with a similar name exists: `foo`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0026`.