Skip to content

Commit 3432ff9

Browse files
committed
remove test for T -> ! coercion
We used to allow `T -> !` coercions (yes!! not `! -> T`) in unreachable code. This was later removed during 2018 stabilization attempt, see: - #40800 - 59688e1 - #46325 I've kept `tests/ui/coercion/coerce-to-bang-cast.rs`, as that is a reasonable test for us *not* having `-> !` coercions.
1 parent 140832a commit 3432ff9

File tree

2 files changed

+0
-209
lines changed

2 files changed

+0
-209
lines changed

tests/ui/coercion/coerce-to-bang.rs

Lines changed: 0 additions & 79 deletions
This file was deleted.

tests/ui/coercion/coerce-to-bang.stderr

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)