| 1 |
error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied |
| 2 |
--> tests/ui/not-quotable.rs:6:13 |
| 3 |
| |
| 4 |
6 | let _ = quote! { #ip }; |
| 5 |
| ^^^^^^^^^^^^^^ |
| 6 |
| | |
| 7 |
| the trait `ToTokens` is not implemented for `Ipv4Addr` |
| 8 |
| required by a bound introduced by this call |
| 9 |
| |
| 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 $N others |
| 20 |
= note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) |