interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / quote / tests / ui / not-repeatable.stderr

34 lines · 1802 bytes Raw Blame History
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 `Ipv4Addr` doesn't implement `Iterator` or `ToTokens`
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: quote::__private::ext::RepIteratorExt`
13 `&Ipv4Addr: Iterator`
14 which is required by `&Ipv4Addr: quote::__private::ext::RepIteratorExt`
15 `Ipv4Addr: ToTokens`
16 which is required by `Ipv4Addr: quote::__private::ext::RepToTokensExt`
17 `&mut Ipv4Addr: Iterator`
18 which is required by `&mut Ipv4Addr: quote::__private::ext::RepIteratorExt`
19note: the traits `Iterator` and `ToTokens` must be implemented
20 --> $RUST/core/src/iter/traits/iterator.rs
21 |
22 | pub const trait Iterator {
23 | ^^^^^^^^^^^^^^^^^^^^^^^^
24 |
25 ::: src/to_tokens.rs
26 |
27 | pub trait ToTokens {
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: `quote::__private::ext::RepAsIteratorExt`
32 candidate #2: `quote::__private::ext::RepIteratorExt`
33 candidate #3: `quote::__private::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)