]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-42312.rs
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-42312.rs
index b1c651f665b72005b54f8b3e9934cb36a1e17c5e..426efcbf9b16f8292cdf6c82d1044f9147127f97 100644 (file)
@@ -5,7 +5,7 @@ fn baz(_: Self::Target) where Self: Deref {}
     //~^ ERROR the size for values of type
 }
 
-pub fn f(_: ToString) {}
+pub fn f(_: dyn ToString) {}
 //~^ ERROR the size for values of type
 
 fn main() { }