···11---- a/src/tools/rustfmt/src/ignore_path.rs
22-+++ b/src/tools/rustfmt/src/ignore_path.rs
33-@@ -37,9 +37,9 @@
44- #[nightly_only_test]
55- #[test]
66- fn test_ignore_path_set() {
77-- use std::path::{Path, PathBuf};
88- use crate::config::{Config, FileName};
99- use crate::ignore_path::IgnorePathSet;
1010-+ use std::path::{Path, PathBuf};
1111-1212- let config =
1313- Config::from_toml(r#"ignore = ["foo.rs", "bar_dir/*"]"#, Path::new("")).unwrap();
-3
pkgs/development/compilers/rust/rustfmt.nix
···2121 CFG_RELEASE = rustPlatform.rust.rustc.version;
2222 CFG_RELEASE_CHANNEL = if asNightly then "nightly" else "stable";
23232424- # FIXME: seems fixed upstream, remove after the next update
2525- patches = [ ./rustfmt-fix-self-tests.patch ];
2626-2724 meta = with lib; {
2825 description = "A tool for formatting Rust code according to style guidelines";
2926 homepage = "https://github.com/rust-lang-nursery/rustfmt";