We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a013b2 commit 5489969Copy full SHA for 5489969
src/test/compile-fail/coerce-to-bang.rs
@@ -56,7 +56,7 @@ fn call_foo_f() {
56
}
57
58
fn array_a() {
59
- // Accepted: return is coerced to `!` just fine, but `22` cannot be.
+ // Return is coerced to `!` just fine, but `22` cannot be.
60
let x: [!; 2] = [return, 22]; //~ ERROR mismatched types
61
62
0 commit comments