about summary refs log tree commit diff
path: root/src/test/ui/refutable-pattern-errors.rs
AgeCommit message (Collapse)AuthorLines
2019-10-27Gather together usefulness testsNadrieril-9/+0
I took most tests that were testing only for match exhaustiveness, pattern refutability or match arm reachability, and put them in the same test folder.
2019-09-09pacify tidy.Mazdak Farrokhzad-1/+1
2019-09-09check_match: unify check_irrefutable & check_exhaustive more.Mazdak Farrokhzad-1/+3
2019-08-06pretty-pretty extremal constants!Zack M. Davis-1/+1
While many programmers may intuitively appreciate the significance of "magic numbers" like −2147483648, Rust is about empowering everyone to build reliable and efficient software! It's a bit more legible to print the constant names (even noisy fully-qualified-paths thereof). The bit-manipulation methods mirror those in `librustc_mir::hair::pattern::_match::all_constructors`; thanks to the immortal Varkor for guidance. Resolves #56393.
2018-12-25Remove licensesMark Rousskov-11/+0
2018-11-30Update existing tests with more precise error messagesvarkor-1/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+18