about summary refs log tree commit diff
path: root/src/test/ui/loops/loop-break-value.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-193/+0
2021-08-11Modify structured suggestion outputEsteban Küber-9/+9
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2021-01-21Do not suggest using a break label when one is already presentEsteban Küber-18/+6
2021-01-21Tweak error for invalid `break expr`Esteban Küber-19/+45
Point at loop head on invalid `break expr`. Suggest removing `expr` or using label if available.
2021-01-21Suggest `'a` when given `a` only when appropriateEsteban Küber-1/+3
When encountering a name `a` that isn't resolved, but a label `'a` is found in the current ribs, only suggest `'a` if this name is the value expression of a `break` statement. Solve FIXME.
2020-12-17Add test case for break expr with misspelled valueDaiki Ihara-2/+22
Update src/test/ui/loops/loop-break-value.rs Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-04-11rustc: Add a warning count upon completionRoccoDev-1/+1
2019-12-14add `#![feature(never_type)]` to tests as neededNiko Matsakis-3/+3
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-14/+14
This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83.
2019-11-21Reorganize, bless and add tests for const control flowDylan MacKenzie-6/+6
This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature.
2019-11-21Auto merge of #66389 - estebank:type-err-labels, r=petrochenkovbors-30/+12
Specific labels when referring to "expected" and "found" types
2019-11-21Remove `#![feature(never_type)]` from tests.Mazdak Farrokhzad-17/+17
Also remove `never_type` the feature-gate test.
2019-11-18Surround types with backticks in type errorsEsteban Küber-8/+8
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-20/+2
2019-11-18review comments: tweak prefix stringsEsteban Küber-10/+10
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-5/+5
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+8
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-08-09Do not suggest using ! with breakEsteban Küber-4/+1
2019-08-09Tweak mismatched types error on break expressionsEsteban Küber-6/+12
2019-07-17normalize use of backticks in compiler messages for librustc/lintSamy Kacimi-1/+1
https://github.com/rust-lang/rust/issues/60532
2019-07-06Make WhileTrue into an EarlyLintPass lint.Mazdak Farrokhzad-0/+8
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-03-11Update testsVadim Petrochenkov-13/+13
2018-12-31Improve type mismatch error messagesYuning Zhang-4/+4
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
2018-12-25Remove licensesMark Rousskov-16/+16
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+156