aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/patterns.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix false positive "Missing match arm".Dawer2021-05-141-1/+1
|
* Add basic support for array lengths in typesJade2021-05-111-3/+3
| | | | | | | | | | This recognizes `let a = [1u8, 2, 3]` as having type `[u8; 3]` instead of the previous `[u8; _]`. Byte strings and `[0u8; 2]` kinds of range array declarations are unsupported as before. I don't know why a bunch of our rustc tests had single quotes inside strings un-escaped by `UPDATE_EXPECT=1 cargo t`, but I don't think it's bad? Maybe something in a nightly?
* Support macros in pattern positionJonas Schievink2021-04-111-1/+27
|
* Fix box pattern inference panicLukas Wirth2021-03-211-0/+22
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-2/+1
|
* Implement const pat inferenceLukas Wirth2020-12-231-0/+30
|
* Properly infer tuple struct patterns when encountering ellipsisLukas Wirth2020-11-241-0/+48
|
* Properly infer tuple patterns when encountering ellipsisLukas Wirth2020-11-241-0/+47
|
* Add box pattern testJonas Schievink2020-09-121-0/+25
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_hir_ty -> hir_tyAleksey Kladov2020-08-131-0/+656