about summary refs log tree commit diff
path: root/tests/ui/parser/impls-nested-within-fns-semantic-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/impls-nested-within-fns-semantic-1.rs')
-rw-r--r--tests/ui/parser/impls-nested-within-fns-semantic-1.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/parser/impls-nested-within-fns-semantic-1.rs b/tests/ui/parser/impls-nested-within-fns-semantic-1.rs
index 0e95fc757f3..92823b05af8 100644
--- a/tests/ui/parser/impls-nested-within-fns-semantic-1.rs
+++ b/tests/ui/parser/impls-nested-within-fns-semantic-1.rs
@@ -1,7 +1,9 @@
 // Regression test for part of issue #119924.
 //@ check-pass
+//@ compile-flags: -Znext-solver
 
-#![feature(const_trait_impl, effects)] //~ WARN the feature `effects` is incomplete
+#![allow(incomplete_features)]
+#![feature(const_trait_impl, effects)]
 
 #[const_trait]
 trait Trait {