Test is no longer "accepted"
This commit is contained in:
parent
5a013b2fbc
commit
5489969fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue