summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern/usefulness.rs
AgeCommit message (Expand)AuthorLines
2020-12-22Fix a commentNadrieril-4/+4
2020-12-22Apply suggestions from code reviewNadrieril-9/+10
2020-12-22Simplify field filteringNadrieril-1/+1
2020-12-22Make the special "missing patterns" constructor realNadrieril-2/+11
2020-12-22Completely rework the explanation of the algorithmNadrieril-234/+211
2020-12-22Pass `Matrix` explicitly instead of via `PatCtxt`Nadrieril-10/+16
2020-12-22Rebrand `MissingConstructors` as `SplitWildcard`Nadrieril-3/+4
2020-12-22Run the annoying lint separatelyNadrieril-2/+7
2020-12-18Unify the two kinds of usefulness mergingNadrieril-63/+35
2020-12-18Merge unreachable subpatterns correctlyNadrieril-3/+28
2020-12-18Keep all witnesses of non-exhaustivenessNadrieril-27/+37
2020-12-18Rewrite usefulness merging using `SpanSet`Nadrieril-64/+113
2020-12-18Log the output of `is_useful` in the or-pattern case tooNadrieril-25/+31
2020-12-18Factor out or-pattern usefulness mergingNadrieril-72/+81
2020-11-28Don't store `ty` and `span` in `IntRange`Nadrieril-2/+10
2020-11-27Rename `_match` to `usefulness`Nadrieril-0/+992