lol

Revert "rustfmt: actually fix the failing test"

This reverts commit 6eb00a41a0850e10e6a12021332a147dd97578a5.

fixed in 1.60.0

zowoq 61970a41 a5aa12b4

-16
-13
pkgs/development/compilers/rust/rustfmt-fix-self-tests.patch
··· 1 - --- a/src/tools/rustfmt/src/ignore_path.rs 2 - +++ b/src/tools/rustfmt/src/ignore_path.rs 3 - @@ -37,9 +37,9 @@ 4 - #[nightly_only_test] 5 - #[test] 6 - fn test_ignore_path_set() { 7 - - use std::path::{Path, PathBuf}; 8 - use crate::config::{Config, FileName}; 9 - use crate::ignore_path::IgnorePathSet; 10 - + use std::path::{Path, PathBuf}; 11 - 12 - let config = 13 - Config::from_toml(r#"ignore = ["foo.rs", "bar_dir/*"]"#, Path::new("")).unwrap();
-3
pkgs/development/compilers/rust/rustfmt.nix
··· 21 21 CFG_RELEASE = rustPlatform.rust.rustc.version; 22 22 CFG_RELEASE_CHANNEL = if asNightly then "nightly" else "stable"; 23 23 24 - # FIXME: seems fixed upstream, remove after the next update 25 - patches = [ ./rustfmt-fix-self-tests.patch ]; 26 - 27 24 meta = with lib; { 28 25 description = "A tool for formatting Rust code according to style guidelines"; 29 26 homepage = "https://github.com/rust-lang-nursery/rustfmt";