about summary refs log tree commit diff
path: root/tests/ui/proc-macro/nested-item-spans.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/proc-macro/nested-item-spans.stderr')
-rw-r--r--tests/ui/proc-macro/nested-item-spans.stderr19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/nested-item-spans.stderr b/tests/ui/proc-macro/nested-item-spans.stderr
new file mode 100644
index 00000000000..44b338fa622
--- /dev/null
+++ b/tests/ui/proc-macro/nested-item-spans.stderr
@@ -0,0 +1,19 @@
+error[E0308]: mismatched types
+  --> $DIR/nested-item-spans.rs:9:22
+   |
+LL |         let x: u32 = "x";
+   |                ---   ^^^ expected `u32`, found `&str`
+   |                |
+   |                expected due to this
+
+error[E0308]: mismatched types
+  --> $DIR/nested-item-spans.rs:18:22
+   |
+LL |         let x: u32 = "x";
+   |                ---   ^^^ expected `u32`, found `&str`
+   |                |
+   |                expected due to this
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0308`.