rust/tests
bors 64a99db105 Auto merge of #145582 - estebank:issue-107806, r=chenyukang
Detect missing `if let` or `let-else`

During `let` binding parse error and encountering a block, detect if there is a likely missing `if` or `else`:

```
error: expected one of `.`, `;`, `?`, `else`, or an operator, found `{`
  --> $DIR/missing-if-let-or-let-else.rs:14:25
   |
LL |     let Some(x) = foo() {
   |                         ^ expected one of `.`, `;`, `?`, `else`, or an operator
   |
help: you might have meant to use `if let`
   |
LL |     if let Some(x) = foo() {
   |     ++
help: alternatively, you might have meant to use `let else`
   |
LL |     let Some(x) = foo() else {
   |                         ++++
```

Fix rust-lang/rust#107806.
2025-08-31 03:00:54 +00:00
..
assembly-llvm Auto merge of #123319 - no92:managarm-target, r=davidtwco 2025-08-30 07:59:16 +00:00
auxiliary Set NumRegisterParameters LLVM module flag to N when -Zregparm=N is 2025-08-13 17:37:30 +02:00
codegen-llvm Rollup merge of #145465 - Kivooeo:stabilize-array_repeat, r=joboet 2025-08-30 20:29:06 +10:00
codegen-units
coverage coverage: Remove all unstable support for MC/DC instrumentation 2025-08-06 22:38:52 +10:00
coverage-run-rustdoc
crashes Changes to the uitests 2025-08-27 20:25:18 +02:00
debuginfo tests: Ignore basic-stepping.rs on riscv64 2025-08-29 08:11:48 +00:00
incremental Bless incremental tests. 2025-07-13 13:50:01 +00:00
mir-opt Use -Zmir-opt-level=0 in tests for MIR building 2025-08-26 23:42:38 -04:00
pretty Update autodiff tests for the new intrinsics impl 2025-08-14 18:33:43 +00:00
run-make Update tests/run-make/rustdoc-default-output/ output 2025-08-23 12:15:37 +02:00
rustdoc Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-gui Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-js rustdoc: add tests for raw pointers in type-based search 2025-08-21 17:50:12 -05:00
rustdoc-js-std tests/rustdoc-js-std/parser-errors.js: remove syntax that is now valid 2025-08-21 20:50:33 -05:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Add ui test for unsupported doc(attribute = "...") case for attributes with namespace 2025-08-28 18:24:58 +02:00
ui Auto merge of #145582 - estebank:issue-107806, r=chenyukang 2025-08-31 03:00:54 +00:00
ui-fulldeps Switch next solver to use a specific associated type for trait def id 2025-08-25 16:52:08 +03:00
COMPILER_TESTS.md