• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied
2 --> tests/ui/not-quotable.rs:6:13
3  |
46 |     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            &T
12            &mut T
13            Box<T>
14            CStr
15            CString
16            Cow<'a, T>
17            Option<T>
18            Rc<T>
19          and $N others
20  = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
21