Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more tests, refactor array lengths/consteval work | Jade | 2021-05-14 | 1 | -1/+9 |
| | | | | | | | | | | | Fix #2922: add unknown length as a condition for a type having unknown. Incorporate reviews: * Extract some of the const evaluation workings into functions * Add fixmes on the hacks * Add tests for impls on specific array lengths (these work!!! š) * Add tests for const generics (indeed we don't support it yet) | ||||
* | Test lowering byte strings some more | Jade | 2021-05-13 | 1 | -14/+25 |
| | |||||
* | Support length for ByteStrings | Jade | 2021-05-13 | 1 | -2/+2 |
| | | | | I am not confident that my added byte string parsing is right. | ||||
* | Add lowering of array lengths in types | Jade | 2021-05-13 | 1 | -8/+8 |
| | | | | | | | | | | | Now e.g. ```rust fn a(b: [u8; 2]) { } ``` will know about the length of b. | ||||
* | Add basic support for array lengths in types | Jade | 2021-05-11 | 1 | -40/+40 |
| | | | | | | | | | | 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? | ||||
* | fix: closure unify without check ClosureId | Comonad | 2021-04-29 | 1 | -0/+36 |
| | | | | closes #8604 | ||||
* | Fix primitive shadowing with inner items | Jonas Schievink | 2021-04-16 | 1 | -0/+18 |
| | |||||
* | Infer variants through type aliased enums | Lukas Wirth | 2021-04-07 | 1 | -0/+33 |
| | |||||
* | hir_ty: fix visibility in infer_inherent_method test | cynecx | 2021-03-20 | 1 | -16/+16 |
| | |||||
* | Support `#[cfg]` on all associated items | Jonas Schievink | 2021-03-18 | 1 | -0/+19 |
| | |||||
* | Use upstream cov-mark | LaurenČiu Nicola | 2021-03-08 | 1 | -2/+1 |
| | |||||
* | hir_ty: use default type generic for box expressions | cynecx | 2021-02-28 | 1 | -0/+55 |
| | |||||
* | Add test for #1165 | Jonas Schievink | 2021-02-10 | 1 | -0/+29 |
| | | | | Closes #1165 | ||||
* | Add more tests | Jonas Schievink | 2021-02-10 | 1 | -8/+33 |
| | |||||
* | Update fixed tests | Jonas Schievink | 2021-02-10 | 1 | -3/+6 |
| | |||||
* | infer: update resolver when descending into block | Jonas Schievink | 2021-02-10 | 1 | -0/+19 |
| | |||||
* | Handle box with allocator | ThiƩbaud Weksteen | 2021-01-22 | 1 | -0/+24 |
| | | | | | | | | In 1.49.0, the definition of Box was modified to support an optional Allocator[1]. Adapt the parsing of the `box` keyword to supply the expected number of parameters to the constructor. [1] https://github.com/rust-lang/rust/commit/f288cd2e179f600fa00c2a407206a12f6c5a91e0 | ||||
* | Add ConstParams to the ide layer | Lukas Wirth | 2021-01-01 | 1 | -1/+0 |
| | |||||
* | Add ConstParams to the HIR | Lukas Wirth | 2021-01-01 | 1 | -0/+17 |
| | |||||
* | Implement const block inference | Lukas Wirth | 2020-12-23 | 1 | -4/+9 |
| | |||||
* | Infer labeled blocks | Lukas Wirth | 2020-12-11 | 1 | -0/+56 |
| | |||||
* | binary operator overload type inference: add test mark | Roland Ruckerbauer | 2020-10-14 | 1 | -0/+3 |
| | |||||
* | Implement binary operator overloading type inference | Roland Ruckerbauer | 2020-10-13 | 1 | -0/+86 |
| | |||||
* | Implement async blocks | oxalica | 2020-09-10 | 1 | -18/+27 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_hir_ty -> hir_ty | Aleksey Kladov | 2020-08-13 | 1 | -0/+2218 |