about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/const-impl-requires-const-trait.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-10-21 19:37:48 +0000
committerMichael Goulet <michael@errs.io>2024-10-24 09:46:36 +0000
commit779b3943d32816ce1d77672be78eb2871071322c (patch)
treeb25899e95d78a8c16f47afb721612a629d9ff5bb /tests/ui/traits/const-traits/const-impl-requires-const-trait.rs
parentcde29b9ec9c49dfdebe06f7e97df4a322f27bd6a (diff)
downloadrust-779b3943d32816ce1d77672be78eb2871071322c.tar.gz
rust-779b3943d32816ce1d77672be78eb2871071322c.zip
Add next-solver to more effects tests
Diffstat (limited to 'tests/ui/traits/const-traits/const-impl-requires-const-trait.rs')
-rw-r--r--tests/ui/traits/const-traits/const-impl-requires-const-trait.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/ui/traits/const-traits/const-impl-requires-const-trait.rs b/tests/ui/traits/const-traits/const-impl-requires-const-trait.rs
index bd6f476f879..e49e9090eb4 100644
--- a/tests/ui/traits/const-traits/const-impl-requires-const-trait.rs
+++ b/tests/ui/traits/const-traits/const-impl-requires-const-trait.rs
@@ -1,11 +1,10 @@
-//@ known-bug: #110395
-
+//@ compile-flags: -Znext-solver
 #![feature(const_trait_impl, effects)]
+#![allow(incomplete_features)]
 
 pub trait A {}
-// FIXME ~^ HELP: mark `A` as const
 
 impl const A for () {}
-// FIXME ~^ ERROR: const `impl` for trait `A` which is not marked with `#[const_trait]`
+//~^ ERROR: const `impl` for trait `A` which is not marked with `#[const_trait]`
 
 fn main() {}