1error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its trait bounds were not satisfied 2 --> tests/ui/not-repeatable.rs:7:13 3 | 43 | struct Ipv4Addr; 5 | --------------- method `quote_into_iter` not found for this struct because it doesn't satisfy `Ipv4Addr: Iterator`, `Ipv4Addr: ToTokens`, `Ipv4Addr: ext::RepIteratorExt` or `Ipv4Addr: ext::RepToTokensExt` 6... 77 | let _ = quote! { #(#ip)* }; 8 | ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds 9 | 10 = note: the following trait bounds were not satisfied: 11 `Ipv4Addr: Iterator` 12 which is required by `Ipv4Addr: ext::RepIteratorExt` 13 `&Ipv4Addr: Iterator` 14 which is required by `&Ipv4Addr: ext::RepIteratorExt` 15 `Ipv4Addr: ToTokens` 16 which is required by `Ipv4Addr: ext::RepToTokensExt` 17 `&mut Ipv4Addr: Iterator` 18 which is required by `&mut Ipv4Addr: ext::RepIteratorExt` 19note: the traits `Iterator` and `ToTokens` must be implemented 20 --> src/to_tokens.rs 21 | 22 | pub trait ToTokens { 23 | ^^^^^^^^^^^^^^^^^^ 24 | 25 ::: $RUST/core/src/iter/traits/iterator.rs 26 | 27 | pub trait Iterator { 28 | ^^^^^^^^^^^^^^^^^^ 29 = help: items from traits can only be used if the trait is implemented and in scope 30 = note: the following traits define an item `quote_into_iter`, perhaps you need to implement one of them: 31 candidate #1: `ext::RepAsIteratorExt` 32 candidate #2: `ext::RepIteratorExt` 33 candidate #3: `ext::RepToTokensExt` 34 = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) 35