about summary refs log tree commit diff
path: root/tests/ui/static
AgeCommit message (Expand)AuthorLines
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-3/+3
2024-12-12Tweak multispan renderingEsteban Küber-8/+2
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-1/+0
2024-10-06Don't emit null pointer lint for raw ref of null derefMichael Goulet-15/+8
2024-10-06A raw ref of a deref is always safeMichael Goulet-2/+1
2024-09-26Stabilize `const_refs_to_static`Ding Xiang Fei-21/+0
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-416/+3
2024-09-15stabilize const_mut_refsRalf Jung-5/+2
2024-09-13Update tests for hidden references to mutable staticObei Sideg-416/+3
2024-09-04propagate `tainted_by_errors` in `MirBorrowckCtxt::emit_errors`Folkert de Vries-0/+13
2024-08-18stabilize raw_ref_opRalf Jung-2/+0
2024-08-05Enforce supertrait outlives obligations hold when confirming implMichael Goulet-2/+29
2024-07-23Rollup merge of #125834 - workingjubilee:weaken-thir-unsafeck-for-addr-of-sta...Matthias Krüger-0/+97
2024-07-22compiler: treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safeJubilee Young-0/+97
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-22/+22
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-363/+57
2024-06-05check_expr_struct_fields: taint context with errors if struct definition is m...Olaf Siwiński-0/+75
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-2/+2
2024-03-31Move some testsCaio-0/+8
2024-03-03Move testsCaio-0/+62
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-16/+16
2024-02-18Improve wording of static_mut_refObei Sideg-160/+492
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-19/+19
2024-02-10rebless after rebaseRalf Jung-0/+1
2024-02-10unstably allow constants to refer to statics and read from immutable staticsRalf Jung-4/+7
2024-02-08Taint borrowck results without running any borrowck if the MIR body was alrea...Oli Scherer-32/+9
2024-01-07Update test for `E0796` and `static_mut_ref` lintObei Sideg-5/+36
2024-01-06Add test for `E0796` and `static_mut_ref` lintObei Sideg-0/+356
2024-01-05Stabilize THIR unsafeckMatthew Jasper-12/+12
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-148/+14
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-2/+2
2023-11-24Show number in error message even for one errorNilstrieb-13/+13
2023-08-30Test and note unsafe ctor to fn ptr coercionMichael Goulet-1/+0
2023-04-19Extend and use `hir::Node::body_id`Maybe Waffle-0/+2
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-9/+10
2023-02-22Convert a hard-warning about named static lifetimes into lint "unused_lifetimes"Zhi Qi-10/+2
2023-01-30Make structured suggestion for fn casting verboseEsteban Küber-4/+5
2023-01-30Mention fn coercion rules (needs to be expanded)Esteban Küber-0/+1
2023-01-30Modify primary span label for E0308Esteban Küber-5/+5
2023-01-25Rollup merge of #106897 - estebank:issue-99430, r=davidtwcoMatthias Krüger-0/+2
2023-01-24Add suggestions for function pointersMatthew J Perez-1/+5
2023-01-15Tweak E0597Esteban Küber-0/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1215