| 1 |
error[E0308]: mismatched types |
| 2 |
--> tests/ui/does-not-have-iter-interpolated.rs:8:5 |
| 3 |
| |
| 4 |
8 | quote!(#(#nonrep)*); |
| 5 |
| ^^^^^^^^^^^^^^^^^^^ |
| 6 |
| | |
| 7 |
| expected `HasIterator`, found `ThereIsNoIteratorInRepetition` |
| 8 |
| expected due to this |
| 9 |
| here the type of `has_iter` is inferred to be `ThereIsNoIteratorInRepetition` |
| 10 |
| |
| 11 |
= 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) |