]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/trait_duplication_in_bounds.stderr
Auto merge of #96458 - Aaron1011:no-cycle-caching, r=jackh726,cjgillot
[rust.git] / src / tools / clippy / tests / ui / trait_duplication_in_bounds.stderr
index 6f8c8e47dfbf1fe56589a06f80017513e69167e8..d0a4cfb88370e2060620137f7e015632a96ff3e7 100644 (file)
@@ -67,5 +67,13 @@ LL |         Self: Iterator<Item = Foo>,
    |
    = help: consider removing this trait bound
 
-error: aborting due to 8 previous errors
+error: this trait bound is already specified in the where clause
+  --> $DIR/trait_duplication_in_bounds.rs:99:23
+   |
+LL | fn impl_trait(_: impl AsRef<str>, _: impl AsRef<str>) {}
+   |                       ^^^^^^^^^^
+   |
+   = help: consider removing this trait bound
+
+error: aborting due to 9 previous errors