about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-50577.stderr
AgeCommit message (Collapse)AuthorLines
2019-11-21Reorganize, bless and add tests for const control flowDylan MacKenzie-41/+0
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-18Surround types with backticks in type errorsEsteban Küber-1/+1
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-2/+0
2019-11-18review comments: tweak prefix stringsEsteban Küber-2/+2
2019-11-13Bless const tests with improved diagnosticsDylan MacKenzie-2/+27
2019-08-31Emit a single error on if expr with expectation and no else clauseEsteban Küber-13/+2
2019-05-10Various test changesMazdak Farrokhzad-2/+13
2019-03-07Add more details to elseless if errorEsteban Küber-1/+4
2019-03-07address review commentsEsteban Küber-1/+2
2019-03-07Point at coercion reason for if exprs without else clauseEsteban Küber-0/+1
``` error[E0317]: if may be missing an else clause --> $DIR/if-without-else-as-fn-expr.rs:2:5 | LL | fn foo(bar: usize) -> usize { | ----- found `usize` because of this return type LL | / if bar % 5 == 0 { LL | | return 3; LL | | } | |_____^ expected (), found usize | = note: expected type `()` found type `usize` = note: `if` expressions without `else` must evaluate to `()` ```
2018-12-25Remove licensesMark Rousskov-1/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+13