]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/trait-impl-bound-suggestions.fixed
Rollup merge of #87440 - twetzel59:fix-barrier-no-op, r=yaahc
[rust.git] / src / test / ui / trait-impl-bound-suggestions.fixed
index db3a95f5c4f611bb14a3ce4b869c7e6973c9db73..744e7bef04e9707d51f08796f1b91fe93bc05ff7 100644 (file)
@@ -10,7 +10,7 @@ struct ConstrainedStruct<X: Copy> {
 }
 
 #[allow(dead_code)]
-trait InsufficientlyConstrainedGeneric<X=()> where X: Copy {
+trait InsufficientlyConstrainedGeneric<X=()> where X: std::marker::Copy {
     fn return_the_constrained_type(&self, x: X) -> ConstrainedStruct<X> {
         //~^ ERROR the trait bound `X: Copy` is not satisfied
         ConstrainedStruct { x }