Update ui tests to most recent trybuild normalization

This commit is contained in:
David Tolnay
2021-10-26 13:00:54 -07:00
parent 7ef47e62c8
commit d71209b594
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ proc-macro2 = { version = "1.0.20", default-features = false }
[dev-dependencies]
rustversion = "1.0"
trybuild = { version = "1.0.49", features = ["diff"] }
trybuild = { version = "1.0.52", features = ["diff"] }
[features]
default = ["proc-macro"]
+2 -2
View File
@@ -8,8 +8,8 @@ error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied
| required by a bound introduced by this call
|
note: required by `to_tokens`
--> src/to_tokens.rs:55:5
--> src/to_tokens.rs
|
55 | fn to_tokens(&self, tokens: &mut TokenStream);
| 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)
+7 -7
View File
@@ -34,14 +34,14 @@ note: the following traits must be implemented
| | }
| |__^
|
::: src/to_tokens.rs:12:1
::: src/to_tokens.rs
|
12 | / pub trait ToTokens {
13 | | /// Write `self` to the given `TokenStream`.
14 | | ///
15 | | /// The token append methods provided by the [`TokenStreamExt`] extension
| / pub trait ToTokens {
| | /// Write `self` to the given `TokenStream`.
| | ///
| | /// The token append methods provided by the [`TokenStreamExt`] extension
... |
76 | | }
77 | | }
| | }
| | }
| |_^
= note: this error originates in the macro `$crate::quote_bind_into_iter` (in Nightly builds, run with -Z macro-backtrace for more info)