| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-11 | Invert control in struct_lint_level. | jumbatm | -3/+4 | |
| Caller now passes in a `decorate` function, which is only run if the lint is allowed. | ||||
| 2020-01-11 | move rustc::lint::{context, passes} to rustc_lint. | Mazdak Farrokhzad | -1/+1 | |
| Also do some cleanup of the interface. | ||||
| 2020-01-11 | lints: promote levels.rs to lint.rs & extract passes.rs | Mazdak Farrokhzad | -1/+2 | |
| 2020-01-11 | prepare moving HardwiredLints to rustc_session | Mazdak Farrokhzad | -2/+1 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -8/+4 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+2 | |
| 2019-12-26 | Fallout in other crates. | Camille GILLOT | -1/+1 | |
| 2019-12-25 | Auto merge of #67524 - LukasKalbertodt:improve-into-iter-lint, r=matthewjasper | bors | -6/+18 | |
| Generalize `array_into_iter` lint to also lint for boxed arrays `Box` is special in that a method call on a box can move the value out of the box. Thus, the same backwards-compatibility problem can arise for boxed arrays as for simple arrays. --- CC #66145 r? @matthewjasper (as you reviewed the first PR) | ||||
| 2019-12-24 | Generalize `array_into_iter` lint to also lint for boxed arrays | Lukas Kalbertodt | -6/+18 | |
| `Box` is special in that a method call on a box can move the value out of the box. Thus, the same backwards-compatibility problem can arise for boxed arrays as for simple arrays. | ||||
| 2019-12-22 | Format the world | Mark Rousskov | -9/+5 | |
| 2019-11-06 | Add future incompatibility lint for `array.into_iter()` | Lukas Kalbertodt | -0/+91 | |
| As we might want to add `IntoIterator` impls for arrays in the future, and since that introduces a breaking change, this lint warns and suggests using `iter()` instead (which is shorter and more explicit). | ||||
