about summary refs log tree commit diff
path: root/tests/ui/parser/impls-nested-within-fns-semantic-1.rs
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2024-06-30 17:08:45 +0000
committerDeadbeef <ent3rm4n@gmail.com>2024-06-30 17:08:45 +0000
commitdaff015314b9ffeb2f65fa45659a1c3008149534 (patch)
treeebc6550fb2ac73275530812d7c340d9f528a3589 /tests/ui/parser/impls-nested-within-fns-semantic-1.rs
parent34ae56de35d4c8b61f51758113debea2ec7c21e7 (diff)
downloadrust-daff015314b9ffeb2f65fa45659a1c3008149534.tar.gz
rust-daff015314b9ffeb2f65fa45659a1c3008149534.zip
Migrate tests to use `-Znext-solver`
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 {