| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-16 | review comments | Esteban Küber | -7/+7 | |
| 2019-12-14 | Revert "Remove `#![feature(never_type)]` from tests." | Niko Matsakis | -13/+17 | |
| This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83. | ||||
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -5/+8 | |
| 2019-11-21 | Auto merge of #66389 - estebank:type-err-labels, r=petrochenkov | bors | -71/+64 | |
| Specific labels when referring to "expected" and "found" types | ||||
| 2019-11-21 | Gate fallback via `#![feature(never_type_fallback)]`. | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-21 | Remove `#![feature(never_type)]` from tests. | Mazdak Farrokhzad | -17/+12 | |
| Also remove `never_type` the feature-gate test. | ||||
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -21/+21 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -16/+9 | |
| 2019-11-18 | review comments: tweak prefix strings | Esteban Küber | -4/+4 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -38/+38 | |
| 2019-10-15 | Organize `never_type` tests | Mazdak Farrokhzad | -1/+1 | |
| Also move {run-fail -> ui}/never_type | ||||
| 2019-09-06 | Update ui tests | varkor | -2/+2 | |
| 2019-08-09 | review comments: typo and rewording | Esteban Küber | -2/+2 | |
| 2019-08-09 | review comment: review wording or missing return error | Esteban Küber | -2/+2 | |
| 2019-08-09 | Tweak wording of fn without explicit return | Esteban Küber | -2/+2 | |
| 2019-08-09 | Change wording for function without return value | Esteban Küber | -2/+2 | |
| Fix #62677 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -15/+15 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -150/+10 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -4/+4 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -22/+22 | |
| 2019-01-05 | Auto merge of #57230 - estebank:return-mismatch, r=varkor | bors | -14/+14 | |
| Modify mismatched type error for functions with no return Fix #50009. ``` error[E0308]: mismatched types --> $DIR/coercion-missing-tail-expected-type.rs:3:24 | LL | fn plus_one(x: i32) -> i32 { //~ ERROR mismatched types | -------- ^^^ expected i32, found () | | | this function's body doesn't return LL | x + 1; | - help: consider removing this semicolon | = note: expected type `i32` found type `()` ``` instead of ``` error[E0308]: mismatched types --> $DIR/coercion-missing-tail-expected-type.rs:3:28 | LL | fn plus_one(x: i32) -> i32 { //~ ERROR mismatched types | ____________________________^ LL | | x + 1; | | - help: consider removing this semicolon LL | | } | |_^ expected i32, found () | = note: expected type `i32` found type `()` ``` | ||||
| 2018-12-31 | Improve type mismatch error messages | Yuning Zhang | -10/+10 | |
| Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing. | ||||
| 2018-12-30 | Tweak E0308 error for clarity | Esteban Küber | -2/+2 | |
| 2018-12-30 | Point at function name span | Esteban Küber | -2/+6 | |
| 2018-12-30 | Point at the return type span on type mismatch due to missing return | Esteban Küber | -14/+10 | |
| Do not point at the entire block span on fn return type mismatches caused by missing return. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -129/+49 | |
| 2018-12-17 | fix review comments, round 2 | Ariel Ben-Yehuda | -1/+1 | |
| 2018-12-17 | address review comments | Ariel Ben-Yehuda | -7/+11 | |
| 2018-12-17 | trigger unsized coercions keyed on Sized bounds | Ariel Ben-Yehuda | -0/+58 | |
| This PR causes unsized coercions to not be disabled by `$0: Unsize<dyn Object>` coercion obligations when we have an `$0: Sized` obligation somewhere. Note that `X: Unsize<dyn Object>` obligations can't fail *as obligations* if `X: Sized` holds, so this still maintains some version of monotonicity (I think that an unsized coercion can't be converted to no coercion by unifying type variables). Fixes #49593 (unblocking never_type). | ||||
| 2018-10-03 | Clearer later use messages for calls | Matthew Jasper | -23/+19 | |
| Give a special message when the later use is from a call. Use the span of the callee instead of the whole expression. For conflicting borrow messages say that the later use is of the first borrow. | ||||
| 2018-08-14 | Moved tests back to compile-test if they don't work on ui. | David Wood | -23/+0 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+769 | |
