about summary refs log tree commit diff
path: root/src/test/run-pass/codegen-object-shim.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/codegen-object-shim.rs')
-rw-r--r--src/test/run-pass/codegen-object-shim.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/codegen-object-shim.rs b/src/test/run-pass/codegen-object-shim.rs
index 4e2d7ac6086..26f53a9c182 100644
--- a/src/test/run-pass/codegen-object-shim.rs
+++ b/src/test/run-pass/codegen-object-shim.rs
@@ -1,4 +1,4 @@
 fn main() {
-    assert_eq!((ToString::to_string as fn(&(ToString+'static)) -> String)(&"foo"),
+    assert_eq!((ToString::to_string as fn(&(dyn ToString+'static)) -> String)(&"foo"),
         String::from("foo"));
 }