]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/type_repetition_in_bounds.rs
Auto merge of #97191 - wesleywiser:main_thread_name, r=ChrisDenton
[rust.git] / src / tools / clippy / tests / ui / type_repetition_in_bounds.rs
index fc740ee11d6ab7b815ab274dd283c76b44055da6..d11432f9046111d4ff77f7279250bc7f10083975 100644 (file)
@@ -79,4 +79,7 @@ struct Foo<T, U>
     u: U,
 }
 
+// This should not lint
+fn impl_trait(_: impl AsRef<str>, _: impl AsRef<str>) {}
+
 fn main() {}