about summary refs log tree commit diff
path: root/tests/ui/consts/miri_unleashed/mutable_references.stderr
AgeCommit message (Collapse)AuthorLines
2025-09-03don't uppercase error messagesSasha Pourcelot-8/+8
a more general version of https://github.com/rust-lang/rust/pull/146080. after a bit of hacking in [`fluent.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_fluent_macro/src/fluent.rs), i discovered that i'm not the only one that is bad at following guidelines :sweat_smile:. this pr lowercases the first letter of all the error messages in the codebase. (i did not change things that are traditionally uppercased such as _MIR_, _ABI_ or _C_) i think it's reasonable to run a `@bors try` so all the test suite is checked, as i cannot run some of the tests on my machine. i double checked (and replaced manually) all the old error messages, but better be safe than sorry. in the future i will try to add a check in `x test tidy` that errors if an error message starts with an uppercase letter.
2025-06-26const-eval: allow constants to refer to mutable/external memory, but reject ↵Ralf Jung-25/+14
such constants as patterns
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-1/+1
also adjust the wording a little so that we don't say "the error occurred here" for two different spans
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-1/+1
2025-06-02Use the informative error as the main const eval error messageOli Scherer-49/+49
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-31/+31
2024-09-26Stabilize `const_refs_to_static`Ding Xiang Fei-36/+21
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
2024-09-15stabilize const_mut_refsRalf Jung-15/+0
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but ↵Ralf Jung-199/+38
keep rejecting mutable references)
2024-07-13consolidate miri-unleashed tests for mutable refs into one fileRalf Jung-21/+312
2024-04-17Validate before reporting interning errors.Oli Scherer-91/+19
validation produces much higher quality errors and already handles most of the cases
2024-04-17Validate nested static itemsOli Scherer-15/+37
2024-03-13Rebase. Update expected output to match current output.Felix S. Klock II-37/+15
2024-03-13Updated the test to include more output normalization.Felix S. Klock II-31/+31
2024-03-13Added `deny(const_eval_mutable_ptr_in_final_value)` attribute to all tests ↵Felix S. Klock II-11/+140
that were expecting the hard error for it. I attempted to do this in a manner that preserved the line numbers to reduce the review effort on the resulting diff, but we still have to deal with the ramifications of how a future-incompat lint behaves compared to a hard-error (in terms of its impact on the diagnostic output).
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-9/+39
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+37