Skip to content

Commit

Permalink
Update ui test suite to nightly-2021-07-20
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 20, 2021
1 parent ef86ae7 commit cbe5ded
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions tests/ui/not-quotable.stderr
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit cbe5ded

Please sign in to comment.