From df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Thu, 22 Nov 2018 17:19:55 +0100 Subject: [PATCH] Update compile-fail test --- src/test/compile-fail/const-fn-error.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/compile-fail/const-fn-error.rs b/src/test/compile-fail/const-fn-error.rs index 17dc9f94fe19..759f0e50eccd 100644 --- a/src/test/compile-fail/const-fn-error.rs +++ b/src/test/compile-fail/const-fn-error.rs @@ -14,8 +14,6 @@ const X : usize = 2; const fn f(x: usize) -> usize { let mut sum = 0; - //~^ let bindings in constant functions are unstable - //~| statements in constant functions are unstable for i in 0..x { //~^ ERROR E0015 //~| ERROR E0019