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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-arm-conditional.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00: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 Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
dropck-eyepatch-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +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 Tweak E0597 2023-01-15 19:46:20 +00:00
dropck_fn_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +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 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28498-ugeh-with-lifetime-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28498-ugeh-with-passed-to-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28498-ugeh-with-trait-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29844.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34053.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38868.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38868.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54943-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54943-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reject-specialized-drops-8142.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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