| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -1784/+0 | |
| 2022-12-10 | Introduce `with_forced_trimmed_paths` | Esteban Küber | -1/+1 | |
| 2022-10-30 | Reduce span of let else irrefutable_let_patterns warning | est31 | -5/+18 | |
| Huge spans aren't good for IDE users as they underline constructs that are possibly multiline. | ||||
| 2022-10-21 | fix some typos | Rageking8 | -1/+1 | |
| 2022-10-14 | more dupe word typos | Rageking8 | -5/+3 | |
| 2022-10-07 | let-else: test else block with non-never uninhabited type | est31 | -1/+23 | |
| 2022-10-05 | Auto merge of #102394 - dingxiangfei2009:issue-102317, r=oli-obk | bors | -0/+20 | |
| Fix unwind drop glue for if-then scopes cc `@est31` Fix #102317 Fix #99852 This PR fixes the drop glue for unwinding from a panic originated in a drop while breaking out for the else block in an `if-then` scope. MIR validation does not fail for the synchronous versions of the test program, because `StorageDead` statements are skipped over in the unwinding process. It is only becoming a problem when it is inside a generator where `StorageDead` must be kept around. | ||||
| 2022-10-01 | bless ui tests | Maybe Waffle | -1/+1 | |
| 2022-09-30 | use build-pass for the test | X | -1/+1 | |
| 2022-09-28 | fix unwind drop glue for if-then scopes | Ding Xiang Fei | -0/+20 | |
| 2022-09-27 | Migrate more rustc_parse diagnostics to diagnostic structs | Xiretza | -4/+4 | |
| 2022-09-26 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2022-09-18 | add miri test via const fn | Ding Xiang Fei | -0/+19 | |
| 2022-09-15 | Remove the let_else feature gate from the testsuite | est31 | -57/+43 | |
| Result of running: rg -l "feature.let_else" src/test/ | xargs sed -s -i "s#^...feature.let_else..\$##" Plus manual tidy fixes. | ||||
| 2022-09-15 | Stabilize the let_else feature | est31 | -0/+8 | |
| 2022-09-15 | add test for #99975 | Ding Xiang Fei | -0/+20 | |
| 2022-09-15 | reorder nesting scopes and declare bindings without drop schedule | Ding Xiang Fei | -0/+1 | |
| 2022-09-05 | Add matrix based test for documenting the let / let else temporary drop order | est31 | -0/+321 | |
| The drop order of let and let else is supposed to be the same, and in order to ensure this, the test checks that this holds for the given list of cases. The test also ensures that we drop the temporaries of the condition before executing the else block. We made the test matrix based so it can check all the possible combinations and find out possible edge cases. | ||||
| 2022-08-25 | Rollup merge of #99954 - dingxiangfei2009:break-out-let-else-higher-up, ↵ | Yuki Okushi | -0/+11 | |
| r=oli-obk let-else: break out to one scope higher for let-else ```@est31``` This PR follows up with #99518 which is to break out to the last remainder scope. It breaks to the out-most `region_scope` of the block if the first statement is a `let-else`. | ||||
| 2022-08-12 | Add regression test for #94176 | est31 | -0/+29 | |
| 2022-08-12 | let-else: add a test for warnings on let-else with diverging tail | Cormac Relf | -0/+33 | |
| 2022-08-04 | Use (actually) dummy place for let-else divergence | Michael Goulet | -0/+15 | |
| 2022-07-31 | add test for earlier drop despite extend lifetime | Ding Xiang Fei | -0/+11 | |
| 2022-07-22 | include a demo that more programs can be compiled | Ding Xiang Fei | -0/+17 | |
| 2022-07-21 | provide a test for #93951 | Ding Xiang Fei | -0/+11 | |
| 2022-07-21 | break out scopes when let-else fails to match | Ding Xiang Fei | -0/+61 | |
| 2022-07-11 | lower let-else in MIR instead | Ding Xiang Fei | -21/+58 | |
| 2022-06-16 | --bless ui | Maybe Waffle | -2/+1 | |
| 2022-05-06 | Resolve vars in note_type_err | Jack Huey | -4/+4 | |
| 2022-02-28 | Tweak diagnostics | Esteban Kuber | -4/+4 | |
| * Recover from invalid `'label: ` before block. * Make suggestion to enclose statements in a block multipart. * Point at `match`, `while`, `loop` and `unsafe` keywords when failing to parse their expression. * Do not suggest `{ ; }`. * Do not suggest `|` when very unlikely to be what was wanted (in `let` statements). | ||||
| 2022-02-22 | Rollup merge of #94208 - est31:let_else, r=Mark-Simulacrum | Matthias Krüger | -4/+100 | |
| Add the let else tests found missing in the stabilization report In the stabilization report of `let else`, in #93628, I found various cases which weren't tested. This PR adds them. | ||||
| 2022-02-21 | Better error if the user tries to do assignment ... else | est31 | -0/+35 | |
| 2022-02-21 | Add regression test for #92069 | est31 | -0/+20 | |
| 2022-02-21 | Expand let-else allow tests | est31 | -4/+80 | |
| The #[allow(...)] directive was tested for the body and the pattern, but non-presence of it wasn't tested. Furthermore, it wasn't tested for the expression. We add expression tests as well as ones checking the non-presence of the directive. | ||||
| 2021-12-13 | let-else: add deref-coercion tests | Cormac Relf | -0/+171 | |
| 2021-12-13 | let-else: add match-ergonomics tests adapted from rfc2005 | Cormac Relf | -0/+228 | |
| collect explicit-mut passing tests in one file | ||||
| 2021-12-13 | let-else: build out ref/ref mut tests, with/without explicit annotations | Cormac Relf | -19/+208 | |
| expands issue 89960 | ||||
| 2021-12-13 | let-else: add tests for moved expressions, copy out of non-copy | Cormac Relf | -0/+62 | |
| 2021-12-13 | let-else: fix attribute aliasing + add test for issue 89807 | Cormac Relf | -0/+14 | |
| 2021-10-18 | Rollup merge of #89974 - est31:let_else_if_error, r=nagisa | Matthias Krüger | -0/+28 | |
| Nicer error message if the user attempts to do let...else if Gives a nice "conditional `else if` is not supported for `let...else`" error when encountering a `let...else if` pattern, as suggested in the [let...else tracking issue](https://github.com/rust-lang/rust/issues/87335#issuecomment-944846205). | ||||
| 2021-10-18 | Rollup merge of #89965 - JohnTitor:fix-let-else-ice-with-ref-mut, r=petrochenkov | Matthias Krüger | -0/+19 | |
| Fix ICE with `let...else` and `ref mut` Fixes #89960, opened for review. I'm not satisfied with the current diagnostics, any ideas? | ||||
| 2021-10-17 | Nicer error message if the user attempts to do let...else if | est31 | -0/+28 | |
| 2021-10-17 | Some "parenthesis" and "parentheses" fixes | r00ster91 | -6/+6 | |
| 2021-10-17 | Fix ICE with `let...else` and `ref mut` | Yuki Okushi | -0/+19 | |
| 2021-08-30 | Add let-else tests | Cameron Steffen | -0/+322 | |
