Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up coercion tests | Florian Diebold | 2021-06-20 | 1 | -552/+117 |
| | |||||
* | Unify check_mismatches and check_types | Florian Diebold | 2021-06-20 | 1 | -2/+2 |
| | |||||
* | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -33/+32 |
| | |||||
* | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -181/+129 |
| | |||||
* | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -116/+81 |
| | |||||
* | internal: introduce minicore -- a subset of libcore for testing | Aleksey Kladov | 2021-06-15 | 1 | -28/+19 |
| | |||||
* | internal: document that we don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 1 | -9/+26 |
| | |||||
* | Fix coercion in match with expected type | Florian Diebold | 2021-06-12 | 1 | -12/+31 |
| | | | | Plus add infrastructure to test type mismatches without expect. | ||||
* | Minor test fixes / new tests | Florian Diebold | 2021-05-25 | 1 | -15/+62 |
| | |||||
* | Fix type mismatch caused by macros | Florian Diebold | 2021-05-25 | 1 | -0/+44 |
| | | | | | | MacroStmts should be completely transparent, but it prevented coercion. (I should maybe give `infer_expr` and `infer_expr_inner` better names.) | ||||
* | Fix handling of diverging branches in match coercion | Florian Diebold | 2021-05-21 | 1 | -0/+39 |
| | | | | Fixes #7626. | ||||
* | Fix coercion of two closures to a function pointer | Florian Diebold | 2021-05-21 | 1 | -1/+16 |
| | | | | Fixes #8604. | ||||
* | Add support for lengths in array repeats, if they are literals | Jade | 2021-05-13 | 1 | -1/+1 |
| | | | | Now we will get the type of `[0u8; 4]`. | ||||
* | Add lowering of array lengths in types | Jade | 2021-05-13 | 1 | -22/+22 |
| | | | | | | | | | | | 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 | -45/+45 |
| | | | | | | | | | | 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? | ||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -3/+2 |
| | |||||
* | 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/+861 |