]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/trait_duplication_in_bounds_unfixable.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / trait_duplication_in_bounds_unfixable.stderr
index fbd9abb005f1f1fdf069c3c96691c12964ff5d24..4d56a94646cb6c0f8da6591cf299cd4f7317fbbc 100644 (file)
@@ -4,12 +4,12 @@ error: this trait bound is already specified in the where clause
 LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)
    |               ^^^^^
    |
+   = help: consider removing this trait bound
 note: the lint level is defined here
   --> $DIR/trait_duplication_in_bounds_unfixable.rs:1:9
    |
 LL | #![deny(clippy::trait_duplication_in_bounds)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = help: consider removing this trait bound
 
 error: this trait bound is already specified in the where clause
   --> $DIR/trait_duplication_in_bounds_unfixable.rs:6:23