1 error[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
7 | method `quote_into_iter` not found for this struct
8 | doesn't satisfy `Ipv4Addr: Iterator`
9 | doesn't satisfy `Ipv4Addr: ToTokens`
10 | doesn't satisfy `Ipv4Addr: ext::RepIteratorExt`
11 | doesn't satisfy `Ipv4Addr: ext::RepToTokensExt`
13 7 | let _ = quote! { #(#ip)* };
14 | ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
16 = note: the following trait bounds were not satisfied:
18 which is required by `Ipv4Addr: ext::RepIteratorExt`
20 which is required by `&Ipv4Addr: ext::RepIteratorExt`
22 which is required by `Ipv4Addr: ext::RepToTokensExt`
23 `&mut Ipv4Addr: Iterator`
24 which is required by `&mut Ipv4Addr: ext::RepIteratorExt`
25 note: the traits `ToTokens` and `Iterator` must be implemented
28 | pub trait ToTokens {
31 ::: $RUST/core/src/iter/traits/iterator.rs
33 | pub trait Iterator {
35 = 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)