]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-60989.rs
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-60989.rs
index 930e98bedce8a08b53399f3c4c72c5d0ab3ce2a2..6dae1e1347b7a402263dff8570ac2bdc31e0061d 100644 (file)
@@ -13,6 +13,6 @@ fn main() {
     //~^ ERROR type arguments are not allowed for this type
 
     let c1 = A {};
-    c1::<Into<B>>;
+    c1::<dyn Into<B>>;
     //~^ ERROR type arguments are not allowed for this type
 }