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
+1 -1
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
}