about summary refs log tree commit diff
path: root/tests/ui/loops/loop-break-value.stderr
AgeCommit message (Collapse)AuthorLines
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-18/+27
``` 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; | ```
2024-04-15Use /* value */ as a placeholderMichael Goulet-10/+10
2024-04-10Handle more cases of "values to suggest" given a typeEsteban Küber-2/+2
Add handling for `String`, `Box`, `Option` and `Result`.
2024-04-09Tweak value suggestions in `borrowck` and `hir_analysis`Esteban Küber-30/+47
Unify the output of `suggest_assign_value` and `ty_kind_suggestion`. Ideally we'd make these a single function, but doing so would likely require modify the crate dependency tree.
2023-10-04Point to where missing return type should goMichael Goulet-1/+1
2023-09-25Use verbose suggestion for `break` without valueEsteban Küber-20/+30
2023-09-25Handle all arbitrary `loop` nesting in `break` type errorsEsteban Küber-3/+79
2023-09-25Account for more cases of nested `loop`s for `break` type mismatchesEsteban Küber-7/+28
2023-09-25Handle yet another case of `break` type mismatchEsteban Küber-1/+4
2023-09-25Point at previous breaks that have the expected typeEsteban Küber-1/+10
2023-09-22Point at cause of expectation of `break` value when possibleEsteban Küber-1/+21
Fix #115905.
2023-01-30Modify primary span label for E0308Esteban Küber-1/+1
The previous output was unintuitive to users.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+193