rust/tests/ui/dropck
Nilstrieb e5c330ac48 Note about object lifetime defaults in does not live long enough error
This is a aspect of Rust that frequently trips up people who are not
aware of it yet. This diagnostic attempts to explain what's happening
and why the lifetime constraint, that was never mentioned in the source,
arose.
2023-11-12 13:51:16 +01:00
..
auxiliary
cleanup-arm-conditional.rs
coroutine-liveness-1.rs review + add tests 2023-11-02 18:16:37 +01:00
coroutine-liveness-2.rs review + add tests 2023-11-02 18:16:37 +01:00
drop-on-non-struct.rs
drop-on-non-struct.stderr
drop-with-active-borrows-1.rs
drop-with-active-borrows-1.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
drop-with-active-borrows-2.rs
drop-with-active-borrows-2.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
dropck_fn_type.rs
dropck_no_diverge_on_nonregular_1.rs
dropck_no_diverge_on_nonregular_1.stderr
dropck_no_diverge_on_nonregular_2.rs
dropck_no_diverge_on_nonregular_2.stderr
dropck_no_diverge_on_nonregular_3.rs
dropck_no_diverge_on_nonregular_3.stderr
dropck_trait_cycle_checked.rs
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
dropck-eyepatch-extern-crate.rs
dropck-eyepatch-extern-crate.stderr
dropck-eyepatch-implies-unsafe-impl.rs
dropck-eyepatch-implies-unsafe-impl.stderr
dropck-eyepatch-reorder.rs
dropck-eyepatch-reorder.stderr
dropck-eyepatch.rs
dropck-eyepatch.stderr
dropck-union.rs
dropck-union.stderr
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 Even more tests 2023-05-04 18:06:07 +00:00
explicit-implied-outlives.bad1.stderr Even more tests 2023-05-04 18:06:07 +00:00
explicit-implied-outlives.bad2.stderr Even more tests 2023-05-04 18:06:07 +00:00
explicit-implied-outlives.rs Even more tests 2023-05-04 18:06:07 +00:00
issue-24805-dropck-itemless.rs
issue-28498-ugeh-with-lifetime-param.rs
issue-28498-ugeh-with-passed-to-fn.rs
issue-28498-ugeh-with-trait-bound.rs
issue-29844.rs
issue-34053.rs
issue-38868.rs
issue-38868.stderr
issue-54943-1.rs
issue-54943-2.rs
negative.rs Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
negative.stderr Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
reject-specialized-drops-8142.rs
reject-specialized-drops-8142.stderr
relate_lt_in_type_outlives_bound.rs
relate_lt_in_type_outlives_bound.stderr
reservation.rs Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
reservation.stderr Explicitly reject negative and reservation drop impls 2023-04-27 17:02:17 +00:00
transitive-outlives-2.rs Even more tests 2023-05-04 18:06:07 +00:00
transitive-outlives.bad.stderr Even more tests 2023-05-04 18:06:07 +00:00
transitive-outlives.rs Even more tests 2023-05-04 18:06:07 +00:00
trivial-impl-bounds.rs Even more tests 2023-05-04 18:06:07 +00:00