Sha256: bbfb702638374001061251f81d63476851ac28ed743f13db9d65e30dd9bdcf52

Contents?: true

Size: 1.7 KB

Versions: 8

Compression:

Stored size: 1.7 KB

Contents

error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its trait bounds were not satisfied
 --> tests/ui/not-repeatable.rs:7:13
  |
3 | struct Ipv4Addr;
  | --------------- 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`
...
7 |     let _ = quote! { #(#ip)* };
  |             ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
  |
  = note: the following trait bounds were not satisfied:
          `Ipv4Addr: Iterator`
          which is required by `Ipv4Addr: ext::RepIteratorExt`
          `&Ipv4Addr: Iterator`
          which is required by `&Ipv4Addr: ext::RepIteratorExt`
          `Ipv4Addr: ToTokens`
          which is required by `Ipv4Addr: ext::RepToTokensExt`
          `&mut Ipv4Addr: Iterator`
          which is required by `&mut Ipv4Addr: ext::RepIteratorExt`
note: the traits `Iterator` and `ToTokens` must be implemented
 --> src/to_tokens.rs
  |
  | pub trait ToTokens {
  | ^^^^^^^^^^^^^^^^^^
  |
 ::: $RUST/core/src/iter/traits/iterator.rs
  |
  | pub trait Iterator {
  | ^^^^^^^^^^^^^^^^^^
  = help: items from traits can only be used if the trait is implemented and in scope
  = note: the following traits define an item `quote_into_iter`, perhaps you need to implement one of them:
          candidate #1: `ext::RepAsIteratorExt`
          candidate #2: `ext::RepIteratorExt`
          candidate #3: `ext::RepToTokensExt`
  = 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)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/quote-1.0.38/tests/ui/not-repeatable.stderr
wasmtime-28.0.0 ./ext/cargo-vendor/quote-1.0.38/tests/ui/not-repeatable.stderr
wasmtime-27.0.0 ./ext/cargo-vendor/quote-1.0.37/tests/ui/not-repeatable.stderr
wasmtime-26.0.0 ./ext/cargo-vendor/quote-1.0.37/tests/ui/not-repeatable.stderr
wasmtime-25.0.2 ./ext/cargo-vendor/quote-1.0.36/tests/ui/not-repeatable.stderr
wasmtime-25.0.1 ./ext/cargo-vendor/quote-1.0.36/tests/ui/not-repeatable.stderr
wasmtime-25.0.0 ./ext/cargo-vendor/quote-1.0.36/tests/ui/not-repeatable.stderr
wasmtime-24.0.0 ./ext/cargo-vendor/quote-1.0.36/tests/ui/not-repeatable.stderr