Skip to content

Commit 5ced411

Browse files
committed
attributes: update trybuild output for Rust 1.64.0 (#2322)
The error messages for these tests appear to have changed a bit with Rust 1.64. This commit includes changes to the `.stderr` file after running the tests with `TRYBUILD=overwrite`, in order to update the expected output for the latest Rust.
1 parent a77be16 commit 5ced411

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tracing-attributes/tests/ui/async_instrument.stderr

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ error[E0277]: `(&str,)` doesn't implement `std::fmt::Display`
3434
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
3535
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
3636

37+
error[E0277]: `(&str,)` doesn't implement `std::fmt::Display`
38+
--> tests/ui/async_instrument.rs:15:34
39+
|
40+
15 | async fn opaque_unsatisfied() -> impl std::fmt::Display {
41+
| ^^^^^^^^^^^^^^^^^^^^^^ `(&str,)` cannot be formatted with the default formatter
42+
|
43+
= help: the trait `std::fmt::Display` is not implemented for `(&str,)`
44+
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
45+
3746
error[E0308]: mismatched types
3847
--> tests/ui/async_instrument.rs:23:5
3948
|

0 commit comments

Comments
 (0)