about summary refs log tree commit diff
path: root/tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr')
-rw-r--r--tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr b/tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr
new file mode 100644
index 00000000000..c672acee040
--- /dev/null
+++ b/tests/ui/rfc-2005-default-binding-mode/no-double-error.stderr
@@ -0,0 +1,9 @@
+error[E0599]: no associated item named `XXX` found for type `u32` in the current scope
+  --> $DIR/no-double-error.rs:8:14
+   |
+LL |         u32::XXX => { }
+   |              ^^^ associated item not found in `u32`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.