]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/const-fn-in-trait.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / mismatched_types / const-fn-in-trait.rs
index 3b1992d90b7c5966ee8932701b534d615954b1a4..e04d59c58c22bfa86c4f021c66f6ef21d2a29c77 100644 (file)
@@ -1,5 +1,3 @@
-#![feature(const_fn)]
-
 trait Foo {
     fn f() -> u32;
     const fn g(); //~ ERROR cannot be declared const