Skip to content

Commit a00a4e9

Browse files
dbidwell94hawkw
authored andcommitted
attributes: update UI tests with the latest stable version of Rust (#2568)
updated UI tests using TRYBUILD=overwrite with the latest stable version of Rust ## Motivation UI tests are failing on the latest stable version of Rust ## Solution Run `TRYBUILD=overwrite cargo test` to update the effected files.
1 parent 97c15b0 commit a00a4e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tracing-attributes/tests/ui/async_instrument.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ error[E0308]: mismatched types
1616
10 | ""
1717
| ^^- help: try using a conversion method: `.to_string()`
1818
| |
19-
| expected struct `String`, found `&str`
19+
| expected `String`, found `&str`
2020
|
2121
note: return type inferred to be `String` here
2222
--> tests/ui/async_instrument.rs:9:31
@@ -47,7 +47,7 @@ error[E0308]: mismatched types
4747
--> tests/ui/async_instrument.rs:23:5
4848
|
4949
23 | ""
50-
| ^^ expected struct `Wrapper`, found `&str`
50+
| ^^ expected `Wrapper<_>`, found `&str`
5151
|
5252
= note: expected struct `Wrapper<_>`
5353
found reference `&'static str`
@@ -79,7 +79,7 @@ error[E0308]: mismatched types
7979
36 | return "";
8080
| ^^- help: try using a conversion method: `.to_string()`
8181
| |
82-
| expected struct `String`, found `&str`
82+
| expected `String`, found `&str`
8383
|
8484
note: return type inferred to be `String` here
8585
--> tests/ui/async_instrument.rs:34:28

0 commit comments

Comments
 (0)