summary refs log tree commit diff
path: root/src/test/compile-fail/unreachable-loop-patterns.rs
AgeCommit message (Collapse)AuthorLines
2018-04-20Revert stabilization of `feature(never_type)`.Felix S. Klock II-0/+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-14stabilise feature(never_type)Andrew Cann-1/+1
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-01-17Change unreachable patterns ICEs to warningsAndrew Cann-0/+20
Allow code with unreachable `?` and `for` patterns to compile. Add some tests.