rust/tests/ui/unsafe
bors d5fd099729 Auto merge of #120242 - matthiaskrgr:rollup-a93yj3i, r=matthiaskrgr
Rollup of 10 pull requests

Successful merges:

 - #117910 (Refactor uses of `objc_msgSend` to no longer have clashing definitions)
 - #118639 (Undeprecate lint `unstable_features` and make use of it in the compiler)
 - #119801 (Fix deallocation with wrong allocator in (A)Rc::from_box_in)
 - #120058 (bootstrap: improvements for compiler builds)
 - #120059 (Make generic const type mismatches not hide trait impls from the trait solver)
 - #120097 (Report unreachable subpatterns consistently)
 - #120137 (Validate AggregateKind types in MIR)
 - #120164 (`maybe_lint_impl_trait`: separate `is_downgradable` from `is_object_safe`)
 - #120181 (Allow any `const` expression blocks in `thread_local!`)
 - #120218 (rustfmt: Check that a token can begin a nonterminal kind before parsing it as a macro arg)

r? `@ghost`
`@rustbot` modify labels: rollup
2024-01-22 18:22:32 +00:00
..
auxiliary make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibility 2024-01-15 23:06:39 +00:00
unsafe_op_in_unsafe_fn make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibility 2024-01-15 23:06:39 +00:00
access_union_field.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
access_union_field.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
const_pat_in_layout_restricted.rs Handle context for const patterns correctly 2024-01-05 10:00:59 +00:00
edition-2024-unsafe_op_in_unsafe_fn.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
edition-2024-unsafe_op_in_unsafe_fn.stderr make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibility 2024-01-15 23:06:39 +00:00
foreign-unsafe-fn-called.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
foreign-unsafe-fn-called.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
initializing-ranged-via-ctor.rs
initializing-ranged-via-ctor.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inline_asm.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
inline_asm.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-3080.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-3080.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-45087-unreachable-unsafe.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-45087-unreachable-unsafe.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-45107-unnecessary-unsafe-in-closure.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-45107-unnecessary-unsafe-in-closure.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-47412.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-47412.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-87414-query-cycle.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-106126-good-path-bug.rs
issue-115348-false-positive-warning-of-unnecessary-unsafe.rs
issue-115348-false-positive-warning-of-unnecessary-unsafe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
new-unsafe-pointers.rs
ranged_ints2_const.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints2_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
ranged_ints2.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints2.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints3_const.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints3_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
ranged_ints3_match.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints3_match.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints3.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints3.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints4_const.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints4_const.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints4.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints4.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints_const.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints_const.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints_macro.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged_ints.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
ranged-ctor-as-fn-ptr.rs
ranged-ctor-as-fn-ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
union_access_through_block.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
union_destructure.rs Consistently warn unreachable subpatterns 2024-01-18 17:29:54 +01:00
union_wild_or_wild.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
union-assignop.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
union-assignop.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
union-modification.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
union.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
union.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-around-compiler-generated-unsafe.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-around-compiler-generated-unsafe.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-assign.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-assign.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-block-without-braces.rs
unsafe-block-without-braces.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-borrow.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-borrow.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-const-fn.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-const-fn.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-fn-assign-deref-ptr.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-fn-assign-deref-ptr.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-fn-autoderef.rs
unsafe-fn-autoderef.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-fn-called-from-safe.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-fn-called-from-safe.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-fn-deref-ptr.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-fn-deref-ptr.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-fn-used-as-value.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-fn-used-as-value.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-not-inherited.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-not-inherited.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unsafe-pointer-assignability.rs
unsafe-subtyping.rs
unsafe-subtyping.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-trait-impl.rs recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
unsafe-trait-impl.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
unsafe-unstable-const-fn.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unsafe-unstable-const-fn.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00