]> git.proxmox.com Git - rustc.git/blame - vendor/quote/tests/ui/not-quotable.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / quote / tests / ui / not-quotable.stderr
CommitLineData
3c0e092e 1error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied
353b0b11 2 --> tests/ui/not-quotable.rs:6:13
5099ac24 3 |
353b0b11
FG
46 | let _ = quote! { #ip };
5 | ^^^^^^^^^^^^^^
6 | |
7 | the trait `ToTokens` is not implemented for `Ipv4Addr`
8 | required by a bound introduced by this call
5099ac24 9 |
04454e1e
FG
10 = help: the following other types implement trait `ToTokens`:
11 &'a T
12 &'a mut T
13 Box<T>
14 Cow<'a, T>
15 Option<T>
16 Rc<T>
17 RepInterp<T>
18 String
19 and 23 others
20 = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)