about summary refs log tree commit diff
path: root/tests/ui/statics
AgeCommit message (Expand)AuthorLines
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
2024-03-31Don't inherit codegen attrs from parent staticMichael Goulet-0/+11
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-0/+24
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-32/+13
2024-02-18Improve wording of static_mut_refObei Sideg-27/+27
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-31/+31
2024-02-15Add regression testAmanjeev Sethi-0/+20
2024-02-07Update testsr0cky-1/+14
2024-01-07Update test for `E0796` and `static_mut_ref` lintObei Sideg-12/+86
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-15/+1
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-1/+0
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+1
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-2/+2
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-10Adjust tests for new drop and forget lintsUrgau-0/+2
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-2/+2
2023-02-18lint: don't suggest assume_init for uninhabited typesy21-8/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+713