mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Update compile-fail test
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user