summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs')
-rw-r--r--tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs b/tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs
deleted file mode 100644
index afd0d137b..000000000
--- a/tests/ui/rfc-2632-const-trait-impl/inherent-impl.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-#![feature(const_trait_impl)]
-#![allow(bare_trait_objects)]
-
-struct S;
-trait T {}
-
-impl const S {}
-//~^ ERROR inherent impls cannot be `const`
-
-impl const T {}
-//~^ ERROR inherent impls cannot be `const`
-
-fn main() {}