]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/object-safety/object-safety-by-value-self-use.rs
Rollup merge of #98665 - ChrisDenton:deprecated-suggestion, r=compiler-errors
[rust.git] / src / test / ui / object-safety / object-safety-by-value-self-use.rs
index f903f26c0901dbc7af648f026080d3ade319ec5b..8e93c538217bbd2e4ec90cabd41e0b03d192fbc1 100644 (file)
@@ -12,7 +12,7 @@ trait Baz {
 }
 
 fn use_bar(t: Box<dyn Bar>) {
-    t.bar() //~ ERROR cannot move a value of type dyn Bar
+    t.bar() //~ ERROR cannot move a value of type `dyn Bar`
 }
 
 fn main() { }