Skip to content

Commit 1d34f92

Browse files
Nick Hamannsteveklabnik
Nick Hamann
authored andcommitted
Update error messages for tests in compile-fail for E0066 and E0069.
1 parent 758d568 commit 1d34f92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/compile-fail/issue-14084.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
fn main() {
1414
box ( () ) 0;
15-
//~^ ERROR: only the managed heap and exchange heap are currently supported
15+
//~^ ERROR: only the exchange heap is currently supported
1616
}

src/test/compile-fail/ret-non-nil.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: `return;` in function returning non-nil
11+
// error-pattern: `return;` in a function whose return type is not `()`
1212

1313
fn f() { return; }
1414

0 commit comments

Comments
 (0)