about summary refs log tree commit diff
path: root/src/test/ui/reachable/expr_unary.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-12/+0
2021-11-21Replace ! with * in ui test of unary expr reachabilityDavid Tolnay-2/+2
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-0/+1
This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83.
2019-11-21Remove `#![feature(never_type)]` from tests.Mazdak Farrokhzad-1/+0
Also remove `never_type` the feature-gate test.
2018-12-25Remove licensesMark Rousskov-9/+0
2018-04-20Revert stabilization of `feature(never_type)`.Felix S. Klock II-1/+1
This commit is just covering the feature gate itself and the tests that made direct use of `!` and thus need to opt back into the feature. A follow on commit brings back the other change that motivates the revert: Namely, going back to the old rules for falling back to `()`.
2018-03-14Make coerce_never lint an errorAndrew Cann-4/+1
Remove the coerce_never lint and make the behaviour an error.
2018-03-14stabilise feature(never_type)Andrew Cann-1/+0
Replace feature(never_type) with feature(exhaustive_patterns). feature(exhaustive_patterns) only covers the pattern-exhaustives checks that used to be covered by feature(never_type)
2017-11-30make coercions to `!` in unreachable code a hard errorAriel Ben-Yehuda-1/+4
This was added to cover up a lazy extra semicolon in #35849, but does not actually make sense. This is removed as a part of the stabilization of `never_type`.
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-1/+2
2017-03-30cherry-pick over the tests I wrote for the reachability codeNiko Matsakis-0/+21
For the most part, the current code performs similarly, although it differs in some particulars. I'll be nice to have these tests for judging future changes, as well.