about summary refs log tree commit diff
path: root/src/test/ui/maybe-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/maybe-bounds.rs')
-rw-r--r--src/test/ui/maybe-bounds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/maybe-bounds.rs b/src/test/ui/maybe-bounds.rs
index 7defd8d3943..95d14f6d1da 100644
--- a/src/test/ui/maybe-bounds.rs
+++ b/src/test/ui/maybe-bounds.rs
@@ -1,6 +1,6 @@
 trait Tr: ?Sized {} //~ ERROR `?Trait` is not permitted in supertraits
 
-type A1 = Tr + (?Sized);
-type A2 = for<'a> Tr + (?Sized);
+type A1 = dyn Tr + (?Sized);
+type A2 = dyn for<'a> Tr + (?Sized);
 
 fn main() {}