rust/tests/ui/unsafe
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
..
auxiliary
access_union_field.mir.stderr
access_union_field.rs
access_union_field.thir.stderr
edition-2024-unsafe_op_in_unsafe_fn.mir.stderr Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
edition-2024-unsafe_op_in_unsafe_fn.rs Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
edition-2024-unsafe_op_in_unsafe_fn.thir.stderr Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
foreign-unsafe-fn-called.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
initializing-ranged-via-ctor.rs rustc_layout_scalar_valid_range makes ctors unsafe 2023-08-30 15:01:58 -07:00
initializing-ranged-via-ctor.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inline_asm.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inline_asm.rs
inline_asm.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3080.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3080.rs
issue-3080.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Make THIR unused_unsafe lint consistent with MIR 2023-10-25 10:10:13 +00:00
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 add a regression test 2023-09-06 17:46:46 +08:00
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.mirunsafeck.stderr
ranged_ints2_const.rs
ranged_ints2_const.thirunsafeck.stderr
ranged_ints2.mirunsafeck.stderr Visit patterns in THIR let expressions 2023-11-06 16:23:09 +00:00
ranged_ints2.rs Visit patterns in THIR let expressions 2023-11-06 16:23:09 +00:00
ranged_ints2.thirunsafeck.stderr Visit patterns in THIR let expressions 2023-11-06 16:23:09 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints3.rs
ranged_ints3.thirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints4_const.mirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints4_const.rs
ranged_ints4_const.thirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints4.mirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints4.rs
ranged_ints4.thirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints_const.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints_const.rs
ranged_ints_const.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints_macro.rs
ranged_ints.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged_ints.rs
ranged_ints.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ranged-ctor-as-fn-ptr.rs Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
ranged-ctor-as-fn-ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-assign.rs
unsafe-assign.thirunsafeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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.mirunsafeck.stderr
unsafe-borrow.rs
unsafe-borrow.thirunsafeck.stderr
unsafe-const-fn.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-const-fn.rs
unsafe-const-fn.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-fn-assign-deref-ptr.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-fn-assign-deref-ptr.rs
unsafe-fn-assign-deref-ptr.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-fn-called-from-safe.rs
unsafe-fn-called-from-safe.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-fn-used-as-value.rs
unsafe-fn-used-as-value.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-not-inherited.mirunsafeck.stderr Implement "items do not inherit unsafety" for THIR unsafeck 2023-07-15 11:59:38 -04:00
unsafe-not-inherited.rs Implement "items do not inherit unsafety" for THIR unsafeck 2023-07-15 11:59:38 -04:00
unsafe-not-inherited.thirunsafeck.stderr Implement "items do not inherit unsafety" for THIR unsafeck 2023-07-15 11:59:38 -04: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
unsafe-trait-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-unstable-const-fn.mir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-unstable-const-fn.rs
unsafe-unstable-const-fn.thir.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrapping-unsafe-block-sugg.mir.fixed Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
wrapping-unsafe-block-sugg.mir.stderr Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
wrapping-unsafe-block-sugg.rs Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
wrapping-unsafe-block-sugg.thir.fixed Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00
wrapping-unsafe-block-sugg.thir.stderr Add suggestion to THIR unsafe_op_in_unsafe_fn lint 2023-11-06 16:23:09 +00:00