aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2021-07-19 19:20:49 -0700
committerDavid Tolnay <dtolnay@gmail.com>2021-07-19 19:20:49 -0700
commitcbe5dedaebec70480fde8c6f88f7f691c89f0db3 (patch)
tree7fc41de0e12c3ab156361fb669fd3b32e7f9e2a6
parentef86ae76778c7dbead0e63b6751c5a01cd651f1c (diff)
downloadplatform_external_rust_crates_quote-upstream-master.tar.gz
platform_external_rust_crates_quote-upstream-master.tar.bz2
platform_external_rust_crates_quote-upstream-master.zip
Update ui test suite to nightly-2021-07-20upstream-master
-rw-r--r--tests/ui/not-quotable.stderr18
1 files changed, 11 insertions, 7 deletions
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)