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]: https://github.com/rust-lang/rust-clippy/issues/11402

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2023-08-30 16:16:29 +01:00
parent 60e919a2bf
commit bc06ee0773
3 changed files with 8 additions and 3 deletions
+3 -3
View File
@@ -29,10 +29,10 @@
"homepage": "",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "48f3d76f512c7267d82d84c5d3d156ad2b9a8d12",
"sha256": "1xivbqbixnk96pacb6ihcbhsmcm0cly7xbgpq2g8kwqf4sgxk2hi",
"rev": "673e2d3d2a3951adc6f5e3351c9fce6ad130baed",
"sha256": "1vgjkaikv8lwm3kmb4jbc96kxhdy38nmf1v4s7nmx6j4bd8pmlyd",
"type": "tarball",
"url": "https://github.com/oxalica/rust-overlay/archive/48f3d76f512c7267d82d84c5d3d156ad2b9a8d12.tar.gz",
"url": "https://github.com/oxalica/rust-overlay/archive/673e2d3d2a3951adc6f5e3351c9fce6ad130baed.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}
+4
View File
@@ -358,6 +358,10 @@ fn test_diff_serde() -> Result<(), Error> {
Ok(())
}
// A possible false positive is being hit here for this clippy
// warning. Tracking issue:
// https://github.com/rust-lang/rust-clippy/issues/11402
#[allow(clippy::needless_raw_string_hashes)]
#[test]
fn test_both_missing_eof_newline() {
let buf = r#"
+1
View File
@@ -18,5 +18,6 @@ in
lld
ripgrep
rust-analyzer
];
}