about summary refs log tree commit diff
path: root/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs')
-rw-r--r--tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs b/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs
index 5a493fd48b3..ffed8beb448 100644
--- a/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs
+++ b/tests/ui/traits/trait-upcasting/illegal-upcast-from-impl.rs
@@ -1,6 +1,8 @@
 // revisions: current next
 //[next] compile-flags: -Znext-solver
 
+#![feature(trait_upcasting)]
+
 trait Super {
     type Assoc;
 }