| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -66/+0 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -1/+1 | |
| 2022-07-01 | Shorten def_span for more items. | Camille GILLOT | -2/+2 | |
| 2021-01-23 | Adjust wording of a diagnostic | oli | -3/+3 | |
| 2021-01-23 | Permit mutable references in all const contexts | oli | -10/+19 | |
| 2020-09-29 | Bless tests | Dylan MacKenzie | -11/+3 | |
| 2020-09-07 | Add CONST_ITEM_MUTATION lint | Aaron Hill | -5/+34 | |
| Fixes #74053 Fixes #55721 This PR adds a new lint `CONST_ITEM_MUTATION`. Given an item `const FOO: SomeType = ..`, this lint fires on: * Attempting to write directly to a field (`FOO.field = some_val`) or array entry (`FOO.array_field[0] = val`) * Taking a mutable reference to the `const` item (`&mut FOO`), including through an autoderef `FOO.some_mut_self_method()` The lint message explains that since each use of a constant creates a new temporary, the original `const` item will not be modified. | ||||
| 2020-06-19 | add new error code | Christian Poveda | -4/+4 | |
| 2020-06-19 | update diagnostics for &mut in constants | Christian Poveda | -16/+7 | |
| 2020-05-04 | Suggest to add missing feature when using gated const features | mibac138 | -0/+2 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -3/+3 | |
| 2019-12-02 | Correct other tests related to const_mut_refs | Christian Poveda | -0/+43 | |
| 2019-11-27 | Remove test for unused error code | Dylan MacKenzie | -28/+0 | |
| This error code is never emitted, and the contents of this test are identical to that of `E0017.rs`. | ||||
| 2019-11-12 | check-consts remove cannot mutate statics in initializer of another static error | Santiago Pastorino | -8/+2 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -3/+3 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+1 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -5/+5 | |
| 2019-02-14 | rustc_mir: split qualify_consts' checking and value qualification. | Eduard-Mihai Burtescu | -4/+4 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -5/+5 | |
| 2018-11-19 | Also catch static mutation at evaluation time | Oliver Scherer | -2/+8 | |
| 2018-03-14 | update tests | Guillaume Gomez | -2/+2 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -4/+4 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+2 | |
| 2018-02-08 | Move some E0XXX to `ui` | Esteban Küber | -0/+26 | |
