mirror of
https://github.com/openharmony/third_party_rust_quote.git
synced 2026-07-19 13:53:59 -04:00
Update ui tests to most recent trybuild normalization
This commit is contained in:
+1
-1
@@ -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"]
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user