about summary refs log tree commit diff
path: root/src/test/ui/half-open-range-patterns
AgeCommit message (Collapse)AuthorLines
2020-11-29Update tests to remove old numeric constantsbstrie-155/+155
Part of #68490. Care has been taken to leave the old consts where appropriate, for testing backcompat regressions, module shadowing, etc. The intrinsics docs were accidentally referring to some methods on f64 as std::f64, which I changed due to being contrary with how we normally disambiguate the shadow module from the primitive. In one other place I changed std::u8 to std::ops since it was just testing path handling in macros. For places which have legitimate uses of the old consts, deprecated attributes have been optimistically inserted. Although currently unnecessary, they exist to emphasize to any future deprecation effort the necessity of these specific symbols and prevent them from being accidentally removed.
2020-09-26`char` not charvarkor-6/+6
2020-07-31Rename HAIR to THIR (Typed HIR).Valentin Lazureanu-26/+26
2020-06-26Show the values and computation that would overflow a const evaluation or ↵Oliver Scherer-70/+70
propagation
2020-06-13Prefer the associated consts for pattern matching errorLzu Tao-70/+70
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+68
2020-02-09--bless --compare-mode=nllMatthias Prechtl-6/+6
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-0/+4
2020-01-11Ban `...X` pats, harden tests, and improve diagnostics.Mazdak Farrokhzad-37/+156
Also fix a bug with the span passed in `mk_range`.
2020-01-10Introduce `#![feature(half_open_range_patterns)]`.Mazdak Farrokhzad-0/+1555
This feature adds `X..`, `..X`, and `..=X` patterns.