summary refs log tree commit diff
path: root/tests/ui/statics
AgeCommit message (Expand)AuthorLines
2025-06-20Ensure copy* intrinsics also perform the static self-init checksOli Scherer-1/+25
2025-06-20Add regression testOli Scherer-0/+15
2025-06-12Rollup merge of #142066 - ferrocene:lw/edition-2015-tests, r=compiler-errorsMatthias Krüger-4/+4
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-3/+3
2025-06-05Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-4/+4
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-3/+3
2025-06-02Use the informative error as the main const eval error messageOli Scherer-12/+12
2025-05-26Deduplicate dyn compatibility violations due to coercionMichael Goulet-26/+1
2025-05-03Move some tests out of tests/uimejrs-0/+97
2025-04-26Fix error message for static references or mutable referencesyuk1ty-34/+32
2025-03-20Use def_path_str for def id arg in UnsupportedOpInfoMichael Goulet-1/+1
2025-03-03Tweak error code for sized checks of const/staticMichael Goulet-0/+1
2025-02-21More sophisticated span trimmingMichael Goulet-6/+4
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-4/+4
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-12/+8
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-12/+18
2025-02-03Check Sizedness of return type in WFMichael Goulet-7/+7
2025-01-26Compiler: Finalize dyn compatibility renamingLeón Orell Valerian Liehr-3/+3
2025-01-22Refactor dyn-compatibility error and suggestionsTaylor Cramer-15/+18
2025-01-07Update tests.Mara Bos-1/+1
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-2/+2
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-9/+9
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-7/+1
2024-11-07Rollup merge of #132095 - gechelberger:fix-131977, r=wesleywiserJubilee-0/+42
2024-10-29Remove detail from label/note that is already available in other noteEsteban Küber-3/+3
2024-10-26Deny calls to non-`#[const_trait]` methods in MIR constckDeadbeef-4/+0
2024-10-24Fix #131977 parens mangled in shared mut static lint suggestionGreg Echelberger-0/+42
2024-09-27Rollup merge of #130826 - fmease:compiler-mv-obj-safe-dyn-compat, r=compiler-...Matthias Krüger-3/+3
2024-09-26Stabilize `const_refs_to_static`Ding Xiang Fei-4/+1
2024-09-25Compiler: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-3/+3
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-29/+85
2024-09-15also stabilize const_refs_to_cellRalf Jung-3/+2
2024-09-15const_refs_to_cell: dont let mutable references sneak past the interior mutab...Ralf Jung-1/+1
2024-09-15stabilize const_mut_refsRalf Jung-2/+1
2024-09-13Update tests for hidden references to mutable staticObei Sideg-29/+85
2024-08-05WF-check struct field types at construction siteNoah Lev-0/+104
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-1/+1
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-4/+4
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-1/+1
2024-07-11Auto merge of #127311 - oli-obk:do_not_count_errors, r=compiler-errorsbors-0/+20
2024-07-11Avoid follow-up errors and ICEs after missing lifetime errors on data structuresOli Scherer-0/+20
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-2/+2
2024-06-17Add regression testOli Scherer-0/+26
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-8/+8
2024-05-20Move 100 entries from tests/ui into subdirsJubilee Young-0/+338
2024-04-29[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loadedblyxyas-2/+2
2024-04-17Validate nested static itemsOli Scherer-0/+35
2024-04-16Taint const qualifs if a static is referenced that didn't pass wfcheckOli Scherer-0/+58
2024-04-02Forbid implicit nested statics in thread local staticsOli Scherer-19/+17
2024-04-02Check that nested statics in thread locals are duplicated per thread.Oli Scherer-0/+24