summaryrefslogtreecommitdiffstats
path: root/third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr')
-rw-r--r--third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr b/third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr
new file mode 100644
index 0000000000..2dcf206dd4
--- /dev/null
+++ b/third_party/rust/quote/tests/ui/does-not-have-iter-interpolated.stderr
@@ -0,0 +1,10 @@
+error[E0308]: mismatched types
+ --> tests/ui/does-not-have-iter-interpolated.rs:8:5
+ |
+8 | quote!(#(#nonrep)*);
+ | ^^^^^^^^^^^^^^^^^^^
+ | |
+ | expected struct `HasIterator`, found struct `ThereIsNoIteratorInRepetition`
+ | expected due to this
+ |
+ = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)