diff options
| author | Christian Poveda <christianpoveda@protonmail.com> | 2019-11-28 12:20:28 -0500 |
|---|---|---|
| committer | Christian Poveda <christianpoveda@protonmail.com> | 2019-12-02 09:46:26 -0500 |
| commit | 416b439ffbdf6840bb3c663fea0246d3ead9a5dc (patch) | |
| tree | f30ef9711349c02c4089a54c422f0dd25a344dfc /src/test/compile-fail/consts | |
| parent | dc0117a42c000428914ed3ca42ba1a287f622694 (diff) | |
| download | rust-416b439ffbdf6840bb3c663fea0246d3ead9a5dc.tar.gz rust-416b439ffbdf6840bb3c663fea0246d3ead9a5dc.zip | |
Correct other tests related to const_mut_refs
Diffstat (limited to 'src/test/compile-fail/consts')
| -rw-r--r-- | src/test/compile-fail/consts/const-fn-error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/consts/const-fn-error.rs b/src/test/compile-fail/consts/const-fn-error.rs index 1a4fc72e817..5d26059644d 100644 --- a/src/test/compile-fail/consts/const-fn-error.rs +++ b/src/test/compile-fail/consts/const-fn-error.rs @@ -6,7 +6,7 @@ const fn f(x: usize) -> usize { let mut sum = 0; for i in 0..x { //~^ ERROR E0015 - //~| ERROR E0017 + //~| ERROR E0658 //~| ERROR E0080 //~| ERROR E0744 //~| ERROR E0019 |
