You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| expected `HasIterator`, found `ThereIsNoIteratorInRepetition`
8
-
| expected due to this
9
-
| here the type of `has_iter` is inferred to be `ThereIsNoIteratorInRepetition`
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CheckHasIterator` is not implemented for `ThereIsNoIteratorInRepetition`
10
6
|
7
+
= help: the trait `CheckHasIterator` is implemented for `HasIterator`
11
8
= 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)
| expected `HasIterator`, found `ThereIsNoIteratorInRepetition`
8
-
| expected due to this
9
-
| here the type of `has_iter` is inferred to be `ThereIsNoIteratorInRepetition`
5
+
| ^^^^^^^^^^^^^^^^^^^ the trait `CheckHasIterator` is not implemented for `ThereIsNoIteratorInRepetition`
10
6
|
7
+
= help: the trait `CheckHasIterator` is implemented for `HasIterator`
11
8
= 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)
error[E0277]: the trait bound `ThereIsNoIteratorInRepetition: CheckHasIterator` is not satisfied
2
2
--> tests/ui/does-not-have-iter-separated.rs:4:5
3
3
|
4
4
4 | quote!(#(a b),*);
5
-
| ^^^^^^^^^^^^^^^^
6
-
| |
7
-
| expected `HasIterator`, found `ThereIsNoIteratorInRepetition`
8
-
| expected due to this
5
+
| ^^^^^^^^^^^^^^^^ the trait `CheckHasIterator` is not implemented for `ThereIsNoIteratorInRepetition`
9
6
|
7
+
= help: the trait `CheckHasIterator` is implemented for `HasIterator`
10
8
= 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)
error[E0277]: the trait bound `ThereIsNoIteratorInRepetition: CheckHasIterator` is not satisfied
2
2
--> tests/ui/does-not-have-iter.rs:4:5
3
3
|
4
4
4 | quote!(#(a b)*);
5
-
| ^^^^^^^^^^^^^^^
6
-
| |
7
-
| expected `HasIterator`, found `ThereIsNoIteratorInRepetition`
8
-
| expected due to this
5
+
| ^^^^^^^^^^^^^^^ the trait `CheckHasIterator` is not implemented for `ThereIsNoIteratorInRepetition`
9
6
|
7
+
= help: the trait `CheckHasIterator` is implemented for `HasIterator`
10
8
= 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)
0 commit comments