]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/escape_analysis.rs
Rustup to https://github.com/rust-lang/rust/pull/61203
[rust.git] / tests / ui / escape_analysis.rs
index e3f78182fd13edb48a8fce3b7786c42cf20d594c..78d332c7a31c9e48432fd98010f19afd11767ff9 100644 (file)
@@ -21,7 +21,7 @@ fn bar(&self) {
 
 fn main() {}
 
-fn ok_box_trait(boxed_trait: &Box<Z>) {
+fn ok_box_trait(boxed_trait: &Box<dyn Z>) {
     let boxed_local = boxed_trait;
     // done
 }