| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-21 | Reorganize, bless and add tests for const control flow | Dylan 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-18 | Surround types with backticks in type errors | Esteban Küber | -1/+1 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -2/+0 | |
| 2019-11-18 | review comments: tweak prefix strings | Esteban Küber | -2/+2 | |
| 2019-11-13 | Bless const tests with improved diagnostics | Dylan MacKenzie | -2/+27 | |
| 2019-08-31 | Emit a single error on if expr with expectation and no else clause | Esteban Küber | -13/+2 | |
| 2019-05-10 | Various test changes | Mazdak Farrokhzad | -2/+13 | |
| 2019-03-07 | Add more details to elseless if error | Esteban Küber | -1/+4 | |
| 2019-03-07 | address review comments | Esteban Küber | -1/+2 | |
| 2019-03-07 | Point at coercion reason for if exprs without else clause | Esteban 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-25 | Remove licenses | Mark Rousskov | -1/+1 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+13 | |
