rust/tests/ui/dropck
Matthias Krüger 0ed5f091a6
Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, r=cjgillot
Tweak spans for self arg, fix borrow suggestion for signature mismatch

1. Adjust a suggestion message that was annoying me
2. Fix #112503 by recording the right spans for the `self` part of the `&self` 0th argument
3. Remove the suggestion for adjusting a trait signature on type mismatch, bc that's gonna probably break all the other impls of the trait even if it fixes its one usage 😅
2023-07-22 19:57:35 +02:00
..
auxiliary
cleanup-arm-conditional.rs
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
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
explicit-implied-outlives.bad1.stderr
explicit-implied-outlives.bad2.stderr
explicit-implied-outlives.rs
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
negative.stderr
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
reservation.stderr
transitive-outlives-2.rs
transitive-outlives.bad.stderr
transitive-outlives.rs
trivial-impl-bounds.rs