about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-22 17:19:55 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-30 09:43:41 +0100
commitdf2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65 (patch)
tree8c8000725f0ef96b6c8faa9f6cf263c33a27030f
parentdba5ba02f769f2ba0a9bf391e887161f618ec4cf (diff)
downloadrust-df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65.tar.gz
rust-df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65.zip
Update compile-fail test
-rw-r--r--src/test/compile-fail/const-fn-error.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/compile-fail/const-fn-error.rs b/src/test/compile-fail/const-fn-error.rs
index 17dc9f94fe1..759f0e50ecc 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