Skip to content

Commit

Permalink
Disable rustfix until original trait_duplication_in_bounds is refacto…
Browse files Browse the repository at this point in the history
…red.

`trait_duplication_in_bounds` is detecting the same errors and reporting
them differently. This causes the fixed file to fail to compile.
  • Loading branch information
Allen Hsu committed Jul 9, 2022
1 parent be58d27 commit a5255ef
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 239 deletions.
1 change: 1 addition & 0 deletions tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ const RUSTFIX_COVERAGE_KNOWN_EXCEPTIONS: &[&str] = &[
"single_component_path_imports_nested_first.rs",
"string_add.rs",
"toplevel_ref_arg_non_rustfix.rs",
"trait_duplication_in_bounds.rs",
"unit_arg.rs",
"unnecessary_clone.rs",
"unnecessary_lazy_eval_unfixable.rs",
Expand Down
214 changes: 0 additions & 214 deletions tests/ui/trait_duplication_in_bounds.fixed

This file was deleted.

2 changes: 0 additions & 2 deletions tests/ui/trait_duplication_in_bounds.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// run-rustfix
//
#![deny(clippy::trait_duplication_in_bounds)]
#![allow(unused)]

Expand Down
Loading

0 comments on commit a5255ef

Please sign in to comment.