rust/tests/ui/unsafe
George-lewis d56cdd48cb Bless tests
Update tests
2024-01-13 12:46:58 -05:00
..
auxiliary Add test cases for suggestions with unsafe operations contained inside macros 2023-06-13 15:48:57 +02: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 Stabilize THIR unsafeck 2024-01-05 10:00:59 +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 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.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 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 Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
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 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.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
rfc-2585-unsafe_op_in_unsafe_fn.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
union_access_through_block.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
union_destructure.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00: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 Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
unsafe-fn-called-from-unsafe-fn.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
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 Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
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
wrapping-unsafe-block-sugg.fixed Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
wrapping-unsafe-block-sugg.rs Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
wrapping-unsafe-block-sugg.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00