Skip to content

Commit 5489969

Browse files
authored
Test is no longer "accepted"
1 parent 5a013b2 commit 5489969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/coerce-to-bang.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn call_foo_f() {
5656
}
5757

5858
fn array_a() {
59-
// Accepted: return is coerced to `!` just fine, but `22` cannot be.
59+
// Return is coerced to `!` just fine, but `22` cannot be.
6060
let x: [!; 2] = [return, 22]; //~ ERROR mismatched types
6161
}
6262

0 commit comments

Comments
 (0)