diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-05-01 12:27:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-01 12:27:09 -0400 |
| commit | 5489969fa18cc74d4b72077940a5c05491ec681f (patch) | |
| tree | 2da509f63f3c34fe858fc776dbea6ec1f2f1b859 | |
| parent | 5a013b2fbcd2eebc8345ccd1611e39b867b4c1f8 (diff) | |
| download | rust-5489969fa18cc74d4b72077940a5c05491ec681f.tar.gz rust-5489969fa18cc74d4b72077940a5c05491ec681f.zip | |
Test is no longer "accepted"
| -rw-r--r-- | src/test/compile-fail/coerce-to-bang.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/coerce-to-bang.rs b/src/test/compile-fail/coerce-to-bang.rs index 4a0e31d2deb..8b4e2c3c051 100644 --- a/src/test/compile-fail/coerce-to-bang.rs +++ b/src/test/compile-fail/coerce-to-bang.rs @@ -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 } |
