Test is no longer "accepted"

This commit is contained in:
Niko Matsakis 2018-05-01 12:27:09 -04:00 committed by GitHub
parent 5a013b2fbc
commit 5489969fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}