diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-04-10 20:01:20 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-04-10 20:36:14 +0000 |
| commit | e17388b8097e48d25ccdde4cf5738d73b9a38052 (patch) | |
| tree | 8d43e9889643cdd62e867938ef58966fc1458fee /tests/ui/loops | |
| parent | a983dd8563be66b049a7bf26c60fca41ed41a111 (diff) | |
| download | rust-e17388b8097e48d25ccdde4cf5738d73b9a38052.tar.gz rust-e17388b8097e48d25ccdde4cf5738d73b9a38052.zip | |
Handle more cases of value suggestions
Diffstat (limited to 'tests/ui/loops')
| -rw-r--r-- | tests/ui/loops/loop-proper-liveness.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/loops/loop-proper-liveness.stderr b/tests/ui/loops/loop-proper-liveness.stderr index bcd6eb353e5..cd4c064bcd1 100644 --- a/tests/ui/loops/loop-proper-liveness.stderr +++ b/tests/ui/loops/loop-proper-liveness.stderr @@ -10,8 +10,8 @@ LL | println!("{:?}", x); = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider assigning a value | -LL | let x: i32 = 0; - | +++ +LL | let x: i32 = 42; + | ++++ error: aborting due to 1 previous error |
