rust/tests/ui/dropck
Matthias Krüger b22c48ed6e
Rollup merge of #128438 - Bryanskiy:empty-array-dropck, r=lcnr
Add special-case for [T, 0] in dropck_outlives

implements/fixes #110288.

r? `@lcnr`
2024-07-31 23:20:12 +02:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-arm-conditional.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
const_drop_is_valid.rs introduce tests 2024-07-01 20:51:05 +01:00
const_drop_is_valid.stderr introduce tests 2024-07-01 20:51:05 +01:00
constrained_by_assoc_type_equality.rs Rewrite dropck 2024-07-02 02:30:38 +01:00
constrained_by_assoc_type_equality_and_self_ty.rs Rewrite dropck 2024-07-02 02:30:38 +01:00
constrained_by_assoc_type_equality_and_self_ty.stderr Rewrite dropck 2024-07-02 02:30:38 +01:00
coroutine-liveness-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
coroutine-liveness-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
drop-on-non-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop-on-non-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop-with-active-borrows-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop-with-active-borrows-1.stderr Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
drop-with-active-borrows-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop-with-active-borrows-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dropck-empty-array.rs Add special-case for [T, 0] in dropck 2024-07-31 16:15:05 +03:00
dropck-eyepatch-extern-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dropck-eyepatch-extern-crate.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
dropck-eyepatch-implies-unsafe-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck-eyepatch-implies-unsafe-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck-eyepatch-reorder.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck-eyepatch-reorder.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
dropck-eyepatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck-eyepatch.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
dropck-union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck-union.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dropck_fn_type.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
dropck_no_diverge_on_nonregular_1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck_no_diverge_on_nonregular_1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dropck_no_diverge_on_nonregular_2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck_no_diverge_on_nonregular_2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dropck_no_diverge_on_nonregular_3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck_no_diverge_on_nonregular_3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck_trait_cycle_checked.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dropck_trait_cycle_checked.stderr Note about object lifetime defaults in does not live long enough error 2023-11-12 13:51:16 +01:00
dropck_traits.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
explicit-drop-bounds.bad1.stderr Adjust inner span of implicit self ref argument 2023-06-28 17:51:01 +00:00
explicit-drop-bounds.bad2.stderr Adjust inner span of implicit self ref argument 2023-06-28 17:51:01 +00:00
explicit-drop-bounds.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
explicit-implied-outlives.bad1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit-implied-outlives.bad2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit-implied-outlives.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-24805-dropck-itemless.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-28498-ugeh-with-lifetime-param.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-28498-ugeh-with-passed-to-fn.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-28498-ugeh-with-trait-bound.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-29844.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-34053.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-38868.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38868.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-54943-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-54943-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
negative.rs Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
negative.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
reject-specialized-drops-8142.rs Rewrite dropck 2024-07-02 02:30:38 +01:00
reject-specialized-drops-8142.stderr Rewrite dropck 2024-07-02 02:30:38 +01:00
relate_lt_in_type_outlives_bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
relate_lt_in_type_outlives_bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
reservation.rs Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
reservation.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transitive-outlives-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
transitive-outlives.bad.stderr Rewrite dropck 2024-07-02 02:30:38 +01:00
transitive-outlives.rs Rewrite dropck 2024-07-02 02:30:38 +01:00
trivial-impl-bounds.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unconstrained_const_param_on_drop.rs Rewrite dropck 2024-07-02 02:30:38 +01:00
unconstrained_const_param_on_drop.stderr Rewrite dropck 2024-07-02 02:30:38 +01:00