about summary refs log tree commit diff
path: root/src/test/ui/consts/const-match-check.eval1.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-17/+0
2022-03-08Do not suggest `let_else` if no bindings would be introducedEsteban Kuber-4/+0
2022-03-08Suggest `if let`/`let_else` for refutable pat in `let`Esteban Kuber-3/+7
2021-08-11Modify structured suggestion outputEsteban Küber-1/+1
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2020-06-26Show the values and computation that would overflow a const evaluation or ↵Oliver Scherer-2/+2
propagation
2020-06-13Prefer the associated consts for pattern matching errorLzu Tao-2/+2
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+1
2019-10-09Suggest `if let` on `let` refutable bindingEsteban Küber-0/+7
2019-09-09check_match: unify check_irrefutable & check_exhaustive more.Mazdak Farrokhzad-2/+2
2019-08-06pretty-pretty extremal constants!Zack M. Davis-2/+2
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-1/+1
2018-11-30Update existing tests with more precise error messagesvarkor-2/+2
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+9