about summary refs log tree commit diff
path: root/tests/ui/proc-macro/quote/not-quotable.stderr
blob: d1c3d06f2b66126d0e2cf280527e45931488f02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied
  --> $DIR/not-quotable.rs:11:13
   |
LL |     let _ = quote! { $ip };
   |             ^^^^^^^^^^^^^^
   |             |
   |             the trait `ToTokens` is not implemented for `Ipv4Addr`
   |             required by a bound introduced by this call
   |
   = help: the following other types implement trait `ToTokens`:
             &T
             &mut T
             Box<T>
             CString
             Cow<'_, T>
             Option<T>
             Rc<T>
             RepInterp<T>
           and 25 others

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.