| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-12 | Rollup merge of #67766 - sapir:fix-unused-in-or-pattern-warning, r=matthewjasper | Dylan DPC | -8/+8 | |
| Fix warning for unused variables in or pattern (issue #67691) Is this a good way to fix it? Also, the tests fail, the "fixed" code output says `{ i, j }` instead of `{ i, j: _ }`, how can I fix that? | ||||
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -2/+2 | |
| 2020-04-10 | Try to fix warning for unused variables in or patterns, issue #67691 | sapir | -8/+8 | |
| 2020-03-23 | Reword unused variable warning | Alex Tokarev | -8/+8 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+2 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -4/+4 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -8/+8 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -24/+0 | |
| 2019-11-18 | review comments: tweak prefix strings | Esteban Küber | -16/+16 | |
| 2019-09-21 | Do not trigger unreachable lint in async body and Use span labels | Esteban Küber | -6/+3 | |
| 2019-09-18 | Point at original span when emitting unreachable lint | Aaron Hill | -0/+5 | |
| Fixes #64590 When we emit an 'unreachable' lint, we now add a note pointing at the expression that actually causes the code to be unreachable (e.g. `return`, `break`, `panic`). This is especially useful when macros are involved, since a diverging expression might be hidden inside of a macro invocation. | ||||
| 2019-08-09 | review comments: typo and rewording | Esteban Küber | -6/+6 | |
| 2019-08-09 | review comment: review wording or missing return error | Esteban Küber | -6/+6 | |
| 2019-08-09 | Tweak wording of fn without explicit return | Esteban Küber | -6/+6 | |
| 2019-08-09 | Change wording for function without return value | Esteban Küber | -6/+6 | |
| Fix #62677 | ||||
| 2019-07-17 | normalize use of backticks in compiler messages for librustc/lint | Samy Kacimi | -2/+2 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-06 | Make WhileTrue into an EarlyLintPass lint. | Mazdak Farrokhzad | -0/+23 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -247/+50 | |
| 2019-03-17 | Updated UI test output to remove test annotations for revisions | Mathias Blikstad | -24/+24 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -5/+5 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -17/+17 | |
| 2019-01-28 | Unused variable suggestions on all patterns. | David Wood | -8/+8 | |
| This commit extends existing suggestions to prefix unused variable bindings in match arms with an underscore so that it applies to all patterns in a match arm. | ||||
| 2019-01-24 | Fix --compare-mode=nll tests | Esteban Küber | -10/+13 | |
| 2019-01-19 | Rollup merge of #57723 - estebank:fix, r=davidtwco | Mazdak Farrokhzad | -1/+1 | |
| Point at cause for expectation in return type type error Various improvements and fixes for type errors in return expressions. Fix #57664. | ||||
| 2019-01-18 | Rollup merge of #57302 - sinkuu:unused_assignments_fp, r=estebank | Mazdak Farrokhzad | -0/+9 | |
| Fix unused_assignments false positive Fixes #22630. In liveness analysis, make `continue` jump to the loop condition's `LiveNode` (`cond` as in comment) instead of the loop's one (`expr`). https://github.com/rust-lang/rust/blob/069b0c410808c1d1d33b495e048b1186e9f8d57f/src/librustc/middle/liveness.rs#L1358-L1370 | ||||
| 2019-01-18 | Point at return type when appropriate | Esteban Küber | -1/+1 | |
| 2019-01-05 | Auto merge of #57230 - estebank:return-mismatch, r=varkor | bors | -30/+30 | |
| 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 `()` ``` | ||||
| 2019-01-03 | Fix unused_assignments false positive | Shotaro Yamada | -0/+9 | |
| Make `continue` jump to the loop condition's `LiveNode` instead of one of the loop body. | ||||
| 2018-12-30 | Tweak E0308 error for clarity | Esteban Küber | -18/+16 | |
| 2018-12-30 | Point at function name span | Esteban Küber | -16/+29 | |
| 2018-12-30 | Point at the return type span on type mismatch due to missing return | Esteban Küber | -30/+19 | |
| Do not point at the entire block span on fn return type mismatches caused by missing return. | ||||
| 2018-12-29 | add non-copy note to stderr | csmoe | -0/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -212/+53 | |
| 2018-12-24 | make non_camel_case_types an early lint | Andy Russell | -3/+3 | |
| 2018-12-07 | Change to give a help message | John Ginger | -6/+10 | |
| 2018-12-03 | Fix stderr files | John Ginger | -0/+6 | |
| 2018-10-16 | updates to expected output for other ui tests. | Felix S. Klock II | -1/+1 | |
| 2018-09-28 | test fix for #54015 | Rusty Blitzerr | -0/+22 | |
| 2018-09-28 | Test fixes for the change of error message for issue #54015 | Rusty Blitzerr | -1/+1 | |
| 2018-09-18 | De-duplicate moved variable errors. | David Wood | -9/+1 | |
| By introducing a new map that tracks the errors reported and the `Place`s that spawned those errors against the move out that the error was referring to, we are able to silence duplicate errors by emitting only the error which corresponds to the most specific `Place` (that which other `Place`s which reported errors are prefixes of). This generally is an improvement, however there is a case - `liveness-move-in-while` - where the output regresses. | ||||
| 2018-09-12 | use structured suggestion for "missing mut" label | Andy Russell | -26/+30 | |
| Fixes #54133. | ||||
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+1030 | |
