rust/tests/ui/expr/if
Esteban Küber f0845adb0c Show diff suggestion format on verbose replacement
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
2025-02-10 20:21:39 +00:00
..
attrs Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
bad-if-let-suggestion.rs Suggest `let` or `==` on typo'd let-chain 2023-11-28 18:07:52 +00:00
bad-if-let-suggestion.stderr Suggest `let` or `==` on typo'd let-chain 2023-11-28 18:07:52 +00:00
expr-if-panic-fn.rs tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}` 2025-01-23 20:51:29 +08:00
expr-if-panic-pass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
expr-if-panic.rs tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}` 2025-01-23 20:51:29 +08:00
expr-if.rs Remove some unnecessary parens in `assert!` conditions 2025-02-06 22:28:44 +00:00
if-branch-types.rs
if-branch-types.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
if-check-panic.rs tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}` 2025-01-23 20:51:29 +08:00
if-check.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
if-cond-bot.rs tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}` 2025-01-23 20:51:29 +08:00
if-else-chain-missing-else.rs Detect if-else chains with a missing final else in type errors 2025-01-16 00:18:26 +00:00
if-else-chain-missing-else.stderr Detect if-else chains with a missing final else in type errors 2025-01-16 00:18:26 +00:00
if-else-type-mismatch.rs
if-else-type-mismatch.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
if-let-arm-types.rs
if-let-arm-types.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
if-let-no-match-guards-issue-41272.rs Rename and Move some UI tests to more suitable subdirs 2025-02-04 17:02:37 +05:30
if-let.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
if-let.stderr Hash only the spans that we care ended up reading in Span::try_metavars 2024-12-21 20:37:27 +00:00
if-loop.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
if-no-match-bindings.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
if-no-match-bindings.stderr Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco" 2024-03-11 21:28:16 +00:00
if-ret.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
if-ret.stderr tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
if-typeck.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
if-typeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
if-without-block.rs
if-without-block.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
if-without-else-as-fn-expr.rs
if-without-else-as-fn-expr.stderr
if-without-else-result.rs
if-without-else-result.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-4201.rs
issue-4201.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00