diff --git a/tests/ui/not-quotable.stderr b/tests/ui/not-quotable.stderr index 42eb827..d52e121 100644 --- a/tests/ui/not-quotable.stderr +++ b/tests/ui/not-quotable.stderr @@ -1,8 +1,12 @@ error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied - --> $DIR/not-quotable.rs:6:13 - | -6 | let _ = quote! { #ip }; - | ^^^^^^^^^^^^^^ the trait `ToTokens` is not implemented for `Ipv4Addr` - | - = note: required by `to_tokens` - = note: this error originates in the macro `$crate::quote_token_with_context` (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/not-quotable.rs:6:13 + | +6 | let _ = quote! { #ip }; + | ^^^^^^^^^^^^^^ the trait `ToTokens` is not implemented for `Ipv4Addr` + | +note: required by `to_tokens` + --> $DIR/to_tokens.rs:55:5 + | +55 | fn to_tokens(&self, tokens: &mut TokenStream); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + = note: this error originates in the macro `$crate::quote_token_with_context` (in Nightly builds, run with -Z macro-backtrace for more info)