Skip to content

Commit

Permalink
Test is no longer "accepted"
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored May 1, 2018
1 parent 5a013b2 commit 5489969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/coerce-to-bang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn call_foo_f() {
}

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

Expand Down

0 comments on commit 5489969

Please sign in to comment.