Skip to content

Commit

Permalink
Update ui test suite with verbose diagnostic format
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 7, 2024
1 parent a56edf7 commit a5a7bf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ linkme-impl = { version = "=0.3.27", path = "impl" }
[dev-dependencies]
once_cell = "1.16"
rustversion = "1.0"
trybuild = { version = "1.0.66", features = ["diff"] }
trybuild = { version = "1.0.97", features = ["diff"] }

[workspace]
members = ["impl", "tests/cortex", "tests/crate"]
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/attempted_coercion.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ error[E0308]: mismatched types
9 | static ELEMENT: &&str = &"uhoh";
| ^^^^^ expected `str`, found `&'static str`
|
= note: expected fn pointer `fn() -> &'static &'static _`
found fn pointer `fn() -> &'static &'static &'static _`
= note: expected fn pointer `fn() -> &'static &'static str`
found fn pointer `fn() -> &'static &'static &'static str`
note: method defined here
--> src/distributed_slice.rs
|
Expand Down

0 comments on commit a5a7bf4

Please sign in to comment.