about summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0388.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-66/+0
2022-10-01bless ui testsMaybe Waffle-1/+1
2022-07-01Shorten def_span for more items.Camille GILLOT-2/+2
2021-01-23Adjust wording of a diagnosticoli-3/+3
2021-01-23Permit mutable references in all const contextsoli-10/+19
2020-09-29Bless testsDylan MacKenzie-11/+3
2020-09-07Add CONST_ITEM_MUTATION lintAaron 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-19add new error codeChristian Poveda-4/+4
2020-06-19update diagnostics for &mut in constantsChristian Poveda-16/+7
2020-05-04Suggest to add missing feature when using gated const featuresmibac138-0/+2
2020-02-09--bless --compare-mode=nllMatthias Prechtl-3/+3
2019-12-02Correct other tests related to const_mut_refsChristian Poveda-0/+43
2019-11-27Remove test for unused error codeDylan MacKenzie-28/+0
This error code is never emitted, and the contents of this test are identical to that of `E0017.rs`.
2019-11-12check-consts remove cannot mutate statics in initializer of another static errorSantiago Pastorino-8/+2
2019-04-22update tests for migrate mode by defaultMatthew Jasper-3/+3
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-03-11Update testsVadim Petrochenkov-5/+5
2019-02-14rustc_mir: split qualify_consts' checking and value qualification.Eduard-Mihai Burtescu-4/+4
2018-12-25Remove licensesMark Rousskov-5/+5
2018-11-19Also catch static mutation at evaluation timeOliver Scherer-2/+8
2018-03-14update testsGuillaume Gomez-2/+2
2018-02-26Update UI testsVadim Petrochenkov-4/+4
2018-02-25Update ui testsGuillaume Gomez-0/+2
2018-02-08Move some E0XXX to `ui`Esteban Küber-0/+26