diff --git a/Cargo.toml b/Cargo.toml index 232b87a..b65aa52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/tests/ui/not-quotable.stderr b/tests/ui/not-quotable.stderr index 5848021..902bbc1 100644 --- a/tests/ui/not-quotable.stderr +++ b/tests/ui/not-quotable.stderr @@ -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) diff --git a/tests/ui/not-repeatable.stderr b/tests/ui/not-repeatable.stderr index 4147063..cd5a1e4 100644 --- a/tests/ui/not-repeatable.stderr +++ b/tests/ui/not-repeatable.stderr @@ -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)