about summary refs log tree commit diff
path: root/tests/ui/dropck
AgeCommit message (Collapse)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-12/+12
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-12Note about object lifetime defaults in does not live long enough errorNilstrieb-0/+12
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-02review + add testslcnr-0/+41
2023-07-22Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, ↵Matthias Krüger-4/+4
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 :sweat_smile:
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-2/+2
2023-06-28Adjust inner span of implicit self ref argumentMichael Goulet-4/+4
2023-05-04Even more testsMichael Goulet-0/+280
2023-04-27Explicitly reject negative and reservation drop implsMichael Goulet-0/+33
2023-01-17Account for method call and indexing when looking for inner-most path in ↵Esteban Küber-0/+2
expression
2023-01-15Tweak E0597Esteban Küber-6/+26
CC #99430
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1663