summaryrefslogtreecommitdiffstats
path: root/third_party/rust/quote/tests/ui/wrong-type-span.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/quote/tests/ui/wrong-type-span.stderr')
-rw-r--r--third_party/rust/quote/tests/ui/wrong-type-span.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/rust/quote/tests/ui/wrong-type-span.stderr b/third_party/rust/quote/tests/ui/wrong-type-span.stderr
new file mode 100644
index 0000000000..12ad307703
--- /dev/null
+++ b/third_party/rust/quote/tests/ui/wrong-type-span.stderr
@@ -0,0 +1,10 @@
+error[E0308]: mismatched types
+ --> tests/ui/wrong-type-span.rs:6:5
+ |
+6 | quote_spanned!(span=> #x);
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
+ | |
+ | expected `Span`, found `&str`
+ | expected due to this
+ |
+ = note: this error originates in the macro `quote_spanned` (in Nightly builds, run with -Z macro-backtrace for more info)