| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-02 | don't warn on explicit casts of never to any | Waffle Lapkin | -35/+17 | |
| 2025-08-02 | refactor `unreachable/expr_cast.rs` test | Waffle Lapkin | -20/+21 | |
| 2025-07-10 | cleaned up some tests | Kivooeo | -13/+17 | |
| 2025-07-01 | moved tests | Kivooeo | -0/+54 | |
| 2025-04-14 | Consistent with treating Ctor Call as Struct in liveness analysis | xizheyin | -39/+4 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-04-14 | Add ui test unreachable-by-call-arguments-issue-139627.rs | xizheyin | -0/+51 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-04-03 | compiletest: Require `//~` annotations even if `error-pattern` is specified | Vadim Petrochenkov | -5/+3 | |
| 2025-02-25 | Make E0614 a structured error | Esteban Küber | -1/+1 | |
| ``` error[E0614]: type `(..., ..., ..., ...)` cannot be dereferenced --> $DIR/long-E0614.rs:10:5 | LL | *x; | ^^ can't be dereferenced | = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt' = note: consider using `--verbose` to print the full type name to the console ``` | ||||
| 2025-01-23 | tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}` | 许杰友 Jieyou Xu (Joe) | -1/+1 | |
| 2024-12-24 | Consider arm to diverge if guard diverges | Michael Goulet | -3/+29 | |
| 2024-12-10 | Adjust `artificial-block.rs` | Jieyou Xu | -0/+30 | |
| - Document `artificial-block.rs` - Move `artificial-block.rs` under `tests/ui/reachable` | ||||
| 2024-11-26 | tests: remove `//@ pretty-expanded` usages | 许杰友 Jieyou Xu (Joe) | -3/+0 | |
| Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ``` | ||||
| 2024-10-05 | Be far more strict about what we consider to be a read of never | Michael Goulet | -1/+1 | |
| 2024-10-05 | Evaluating place expr that is never read from does not diverge | Michael Goulet | -5/+6 | |
| 2024-09-13 | Add a machine-applicable suggestion to "unreachable pattern" | Nadrieril | -2/+8 | |
| 2024-09-11 | Revert warning empty patterns as unreachable | Nadrieril | -2/+3 | |
| 2024-08-20 | Move the "matches no value" note to be a span label | Nadrieril | -6/+3 | |
| 2024-08-19 | Add a note with a link to explain empty types | Nadrieril | -0/+3 | |
| 2024-08-19 | Reword the "unreachable pattern" explanations | Nadrieril | -5/+5 | |
| 2024-08-10 | Update tests | Nadrieril | -4/+2 | |
| 2024-07-24 | Explain why a given pattern is considered unreachable | Nadrieril | -1/+7 | |
| 2024-03-20 | Make type_ascribe! not a built-in | Michael Goulet | -0/+1 | |
| 2024-02-23 | Rollup merge of #120742 - Nadrieril:use-min_exh_pats, r=compiler-errors | Matthias Krüger | -1/+1 | |
| mark `min_exhaustive_patterns` as complete This is step 1 and 2 of my [proposal](https://github.com/rust-lang/rust/issues/119612#issuecomment-1918097361) to move `min_exhaustive_patterns` forward. The vast majority of in-tree use cases of `exhaustive_patterns` are covered by `min_exhaustive_patterns`. There are a few cases that still require `exhaustive_patterns` in tests and they're all behind references. r? ``@ghost`` | ||||
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -20/+20 | |
| 2024-02-13 | Prefer `min_exhaustive_patterns` in tests | Nadrieril | -1/+1 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -11/+11 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-23 | Update `since` stability attributes in tests | David Tolnay | -2/+2 | |
| 2023-06-22 | Tweak privacy errors to account for reachable items | Esteban Küber | -1/+1 | |
| Suggest publicly accessible paths for items in private mod: When encountering a path in non-import situations that are not reachable due to privacy constraints, search for any public re-exports that the user could use instead. Track whether an import suggestion is offering a re-export. When encountering a path with private segments, mention if the item at the final path segment is not publicly accessible at all. Add item visibility metadata to privacy errors from imports: On unreachable imports, record the item that was being imported in order to suggest publicly available re-exports or to be explicit that the item is not available publicly from any path. In order to allow this, we add a mode to `resolve_path` that will not add new privacy errors, nor return early if it encounters one. This way we can get the `Res` corresponding to the final item in the import, which is used in the privacy error machinery. | ||||
| 2023-06-12 | Adjust UI tests for `unit_bindings` | 许杰友 Jieyou Xu (Joe) | -7/+7 | |
| - Either explicitly annotate `let x: () = expr;` where `x` has unit type, or remove the unit binding to leave only `expr;` instead. - Fix disjoint-capture-in-same-closure test | ||||
| 2023-05-09 | Rollup merge of #111021 - c410-f3r:dqewdas, r=petrochenkov | Matthias Krüger | -0/+15 | |
| Move some tests r? ``@petrochenkov`` | ||||
| 2023-05-08 | test for reachable private impl | Michael Goulet | -0/+33 | |
| 2023-05-08 | Move tests | Caio | -0/+15 | |
| 2023-04-02 | Move some UI tests into subdirectories | jyn | -0/+16 | |
| to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui. | ||||
| 2023-03-12 | Remove uses of `box_syntax` in rustc and tools | clubby789 | -25/+0 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+1372 | |
