diff options
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.rs | 2 |
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; } |
