Skip to content

Commit 4a137fa

Browse files
authored
test(rustfix): Update for nightly (#15717)
### What does this PR try to resolve? This unblocks Red CI, see [#t-cargo > Red CI: rustfix @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/Red.20CI.3A.20rustfix/near/526449337) ### How to test and review this PR? Inspired by #15713
2 parents 930b4f6 + e8a9510 commit 4a137fa

File tree

6 files changed

+492
-230
lines changed

6 files changed

+492
-230
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ regex = "1.11.1"
8484
rusqlite = { version = "0.34.0", features = ["bundled"] }
8585
rustc-hash = "2.1.1"
8686
rustc-stable-hash = "0.1.2"
87-
rustfix = { version = "0.9.0", path = "crates/rustfix" }
87+
rustfix = { version = "0.9.2", path = "crates/rustfix" }
8888
same-file = "1.0.6"
8989
schemars = "0.9.0"
9090
security-framework = "3.2.0"

crates/rustfix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustfix"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
authors = [
55
"Pascal Hertleif <killercup@gmail.com>",
66
"Oliver Schneider <oli-obk@users.noreply.github.com>",

crates/rustfix/tests/everything/dedup-suggestions.fixed.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// See <https://github.com/rust-lang/cargo/issues/13027>
22
macro_rules! foo {
33
() => {
4-
let _ = &1;
4+
let x = Box::new(1);
5+
let _ = &x;
56
};
67
}
78

0 commit comments

Comments
 (0)