]> git.lizzy.rs Git - rust.git/commitdiff
Fix a compile-fail test
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 27 Nov 2018 08:43:16 +0000 (09:43 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Fri, 30 Nov 2018 08:44:15 +0000 (09:44 +0100)
src/test/compile-fail/const-fn-error.rs

index 759f0e50eccdd81fe80d82940bdd207959d50075..397bc7efd633c8541568c482bf62c41603cdd3a7 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(const_fn)]
+#![feature(const_fn, const_let)]
 
 const X : usize = 2;