Skip to content

Commit a5255ef

Browse files
author
Allen Hsu
committed
Disable rustfix until original trait_duplication_in_bounds is refactored.
`trait_duplication_in_bounds` is detecting the same errors and reporting them differently. This causes the fixed file to fail to compile.
1 parent be58d27 commit a5255ef

4 files changed

+24
-239
lines changed

tests/compile-test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ const RUSTFIX_COVERAGE_KNOWN_EXCEPTIONS: &[&str] = &[
397397
"single_component_path_imports_nested_first.rs",
398398
"string_add.rs",
399399
"toplevel_ref_arg_non_rustfix.rs",
400+
"trait_duplication_in_bounds.rs",
400401
"unit_arg.rs",
401402
"unnecessary_clone.rs",
402403
"unnecessary_lazy_eval_unfixable.rs",

tests/ui/trait_duplication_in_bounds.fixed

-214
This file was deleted.

tests/ui/trait_duplication_in_bounds.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// run-rustfix
2-
//
31
#![deny(clippy::trait_duplication_in_bounds)]
42
#![allow(unused)]
53

0 commit comments

Comments
 (0)