diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-22 17:19:55 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-30 09:43:41 +0100 |
| commit | df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65 (patch) | |
| tree | 8c8000725f0ef96b6c8faa9f6cf263c33a27030f | |
| parent | dba5ba02f769f2ba0a9bf391e887161f618ec4cf (diff) | |
| download | rust-df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65.tar.gz rust-df2123cff2b1e6e4c7dfc0560ccf0eec3ae67a65.zip | |
Update compile-fail test
| -rw-r--r-- | src/test/compile-fail/const-fn-error.rs | 2 |
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 |
