rust/tests/ui/unsafe
bors df63c5f140 Auto merge of #112038 - Nemo157:edition-2024-unsafe_op_in_unsafe_fn, r=RalfJung
Change `unsafe_op_in_unsafe_fn` to be `warn`-by-default from edition 2024

This was previously FCPed: https://github.com/rust-lang/rust/issues/71668#issuecomment-1189396886

There were two blocking requirements:
* Fix the `unused_unsafe` lint, done in https://github.com/rust-lang/rust/pull/100081
* Have `cargo fix` able to fix the lint, done in https://github.com/rust-lang/rust/pull/112017
2023-09-14 11:52:08 +00:00
..
auxiliary
access_union_field.mir.stderr
access_union_field.rs
access_union_field.thir.stderr
edition-2024-unsafe_op_in_unsafe_fn.rs
edition-2024-unsafe_op_in_unsafe_fn.stderr
foreign-unsafe-fn-called.mir.stderr
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.thir.stderr
initializing-ranged-via-ctor.rs
initializing-ranged-via-ctor.stderr
inline_asm.mir.stderr
inline_asm.rs
inline_asm.thir.stderr
issue-3080.mir.stderr
issue-3080.rs
issue-3080.thir.stderr
issue-45087-unreachable-unsafe.mir.stderr
issue-45087-unreachable-unsafe.rs
issue-45087-unreachable-unsafe.thir.stderr
issue-45107-unnecessary-unsafe-in-closure.mir.stderr
issue-45107-unnecessary-unsafe-in-closure.rs
issue-45107-unnecessary-unsafe-in-closure.thir.stderr
issue-47412.mir.stderr
issue-47412.rs
issue-47412.thir.stderr
issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs
issue-87414-query-cycle.rs
issue-106126-good-path-bug.rs
issue-115348-false-positive-warning-of-unnecessary-unsafe.rs
issue-115348-false-positive-warning-of-unnecessary-unsafe.stderr
new-unsafe-pointers.rs
ranged_ints2_const.mirunsafeck.stderr
ranged_ints2_const.rs
ranged_ints2_const.thirunsafeck.stderr
ranged_ints2.mirunsafeck.stderr
ranged_ints2.rs
ranged_ints2.thirunsafeck.stderr
ranged_ints3_const.mirunsafeck.stderr
ranged_ints3_const.rs
ranged_ints3_const.thirunsafeck.stderr
ranged_ints3_match.mirunsafeck.stderr
ranged_ints3_match.rs
ranged_ints3_match.thirunsafeck.stderr
ranged_ints3.mirunsafeck.stderr
ranged_ints3.rs
ranged_ints3.thirunsafeck.stderr
ranged_ints4_const.mirunsafeck.stderr
ranged_ints4_const.rs
ranged_ints4_const.thirunsafeck.stderr
ranged_ints4.mirunsafeck.stderr
ranged_ints4.rs
ranged_ints4.thirunsafeck.stderr
ranged_ints_const.mir.stderr
ranged_ints_const.rs
ranged_ints_const.thir.stderr
ranged_ints_macro.rs
ranged_ints.mir.stderr
ranged_ints.rs
ranged_ints.thir.stderr
ranged-ctor-as-fn-ptr.rs
ranged-ctor-as-fn-ptr.stderr
rfc-2585-unsafe_op_in_unsafe_fn.mir.stderr
rfc-2585-unsafe_op_in_unsafe_fn.rs
rfc-2585-unsafe_op_in_unsafe_fn.thir.stderr
union_access_through_block.rs
union_destructure.mir.stderr
union_destructure.rs
union_wild_or_wild.rs
union-assignop.mirunsafeck.stderr
union-assignop.rs
union-assignop.thirunsafeck.stderr
union-modification.rs
union.mir.stderr
union.rs
union.thir.stderr
unsafe-around-compiler-generated-unsafe.mir.stderr
unsafe-around-compiler-generated-unsafe.rs
unsafe-around-compiler-generated-unsafe.thir.stderr
unsafe-assign.mirunsafeck.stderr
unsafe-assign.rs
unsafe-assign.thirunsafeck.stderr
unsafe-block-without-braces.rs
unsafe-block-without-braces.stderr
unsafe-borrow.mirunsafeck.stderr
unsafe-borrow.rs
unsafe-borrow.thirunsafeck.stderr
unsafe-const-fn.mir.stderr
unsafe-const-fn.rs
unsafe-const-fn.thir.stderr
unsafe-fn-assign-deref-ptr.mir.stderr
unsafe-fn-assign-deref-ptr.rs
unsafe-fn-assign-deref-ptr.thir.stderr
unsafe-fn-autoderef.rs
unsafe-fn-autoderef.stderr
unsafe-fn-called-from-safe.mir.stderr
unsafe-fn-called-from-safe.rs
unsafe-fn-called-from-safe.thir.stderr
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-fn-deref-ptr.mir.stderr
unsafe-fn-deref-ptr.rs
unsafe-fn-deref-ptr.thir.stderr
unsafe-fn-used-as-value.mir.stderr
unsafe-fn-used-as-value.rs
unsafe-fn-used-as-value.thir.stderr
unsafe-not-inherited.mirunsafeck.stderr
unsafe-not-inherited.rs
unsafe-not-inherited.thirunsafeck.stderr
unsafe-pointer-assignability.rs
unsafe-subtyping.rs
unsafe-subtyping.stderr
unsafe-trait-impl.rs
unsafe-trait-impl.stderr
unsafe-unstable-const-fn.mir.stderr
unsafe-unstable-const-fn.rs
unsafe-unstable-const-fn.thir.stderr
wrapping-unsafe-block-sugg.fixed
wrapping-unsafe-block-sugg.rs
wrapping-unsafe-block-sugg.stderr