| 1 |
error[E0277]: repetition contains no interpolated value that is an iterator |
| 2 |
--> tests/ui/does-not-have-iter.rs:4:5 |
| 3 |
| |
| 4 |
4 | quote!(#(a b)*); |
| 5 |
| ^^^^^^^^^^^^^^^ none of the values interpolated inside this repetition are iterable |
| 6 |
| |
| 7 |
help: the trait `quote::__private::CheckHasIterator<true>` is not implemented for `quote::__private::HasIterator<false>` |
| 8 |
but it is implemented for `quote::__private::HasIterator<true>` |
| 9 |
--> src/runtime.rs |
| 10 |
| |
| 11 |
| impl CheckHasIterator<true> for HasIterator<true> {} |
| 12 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 13 |
= 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) |