Skip to content

Commit 0cca5fb

Browse files
committed
nix: update to rust-1.72.0
Update the toolchain to rust-1.72.0. This brought with it a new clippy check for needless '#'s for string literals. However, this is a false positive and is being tracked here[[0]]. [0]: rust-lang/rust-clippy#11402 Signed-off-by: Fintan Halpenny <[email protected]> X-Clacks-Overhead: GNU Terry Pratchett
1 parent 60e919a commit 0cca5fb

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

nix/sources.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"homepage": "",
3030
"owner": "oxalica",
3131
"repo": "rust-overlay",
32-
"rev": "48f3d76f512c7267d82d84c5d3d156ad2b9a8d12",
33-
"sha256": "1xivbqbixnk96pacb6ihcbhsmcm0cly7xbgpq2g8kwqf4sgxk2hi",
32+
"rev": "673e2d3d2a3951adc6f5e3351c9fce6ad130baed",
33+
"sha256": "1vgjkaikv8lwm3kmb4jbc96kxhdy38nmf1v4s7nmx6j4bd8pmlyd",
3434
"type": "tarball",
35-
"url": "https://github.com/oxalica/rust-overlay/archive/48f3d76f512c7267d82d84c5d3d156ad2b9a8d12.tar.gz",
35+
"url": "https://github.com/oxalica/rust-overlay/archive/673e2d3d2a3951adc6f5e3351c9fce6ad130baed.tar.gz",
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737
}
3838
}

radicle-surf/t/src/diff.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,10 @@ fn test_diff_serde() -> Result<(), Error> {
358358
Ok(())
359359
}
360360

361+
// A possible false positive is being hit here for this clippy
362+
// warning. Tracking issue:
363+
// https://github.com/rust-lang/rust-clippy/issues/11402
364+
#[allow(clippy::needless_raw_string_hashes)]
361365
#[test]
362366
fn test_both_missing_eof_newline() {
363367
let buf = r#"

shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ in
1818
lld
1919

2020
ripgrep
21+
rust-analzyer
2122
];
2223
}

0 commit comments

Comments
 (0)