summary refs log tree commit diff
path: root/tests/ui/self
AgeCommit message (Expand)AuthorLines
2024-08-17Bless test falloutMichael Goulet-6/+6
2024-07-18Auto merge of #117967 - adetaylor:fix-lifetime-elision-bug, r=lcnrbors-14/+464
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-6/+6
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-2/+13
2024-07-01Avoid an ICE reachable through const eval shenanigansOli Scherer-1/+75
2024-06-12Require any function with a tait in its signature to actually constrain a hid...Oli Scherer-1/+15
2024-06-05Additional test due to Pin<&Self> discoveryAdrian Taylor-0/+49
2024-06-04Add additional tests.Adrian Taylor-0/+22
2024-05-30update UI testslcnr-1/+1
2024-05-25Auto merge of #124187 - compiler-errors:self-ctor, r=petrochenkovbors-0/+66
2024-05-22Do not elide if there's ambiguity in self lifetime.Adrian Taylor-5/+165
2024-05-22Ambiguous Self lifetimes: don't elide.Adrian Taylor-11/+230
2024-05-18Warn/error on self ctor from outer item in inner itemMichael Goulet-0/+66
2024-05-17Detect when a lifetime is being reused in suggestionEsteban Küber-2/+2
2024-05-17Tweak suggested lifetimes to modify return type instead of `&self` receiverEsteban Küber-93/+93
2024-05-17Run `rustfmt` on modified testsEsteban Küber-65/+84
2024-05-17Account for owning item lifetimes in suggestion and annotate tests as `run-ru...Esteban Küber-51/+325
2024-05-17Always constrain the return type in lifetime suggestionEsteban Küber-64/+64
2024-05-17Suggest setting lifetime in borrowck error involving types with elided lifetimesEsteban Küber-0/+10
2024-04-30Replace item names containing an error code with something more meaningfulLeón Orell Valerian Liehr-2/+2
2024-04-04Switch `can_eq` and `can_sub` to `DefineOpaqueTypes::Yes`Oli Scherer-0/+32
2024-02-22Deduplicate some logic and reword outputEsteban Küber-2/+2
2024-02-22Make confusable suggestions `verbose`Esteban Küber-2/+10
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-93/+93
2024-02-14Continue compilation after check_mod_type_wf errorsOli Scherer-0/+1
2024-02-01Improve the diagnostics for unused generic parametersLeón Orell Valerian Liehr-2/+2
2024-01-13Bless testsGeorge-lewis-0/+1
2024-01-07update ui testsGray Olson-1/+1
2023-12-12Rollup merge of #117914 - estebank:issue-85843, r=wesleywiserMatthias Krüger-1/+10
2023-11-24Show number in error message even for one errorNilstrieb-10/+10
2023-11-20Tweak wordingEsteban Küber-1/+1
2023-11-20On borrow return type, suggest borrowing from arg or owned return typeEsteban Küber-1/+10
2023-11-16Smaller span for unnessary `mut` suggestionEsteban Küber-1/+1
2023-10-30Auto merge of #117415 - matthiaskrgr:rollup-jr2p1t2, r=matthiaskrgrbors-4/+19
2023-10-30Poison check_well_formed if method receivers are invalid to prevent typeck fr...Oli Scherer-4/+19
2023-10-29On object safety error, mention new enum as alternativeEsteban Küber-0/+3
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-6/+23
2023-10-17Unify suggestion wordingEsteban Küber-2/+2
2023-10-03Rollup merge of #114654 - estebank:suggest-pin-macro, r=davidtwcoMatthias Krüger-7/+6
2023-09-25When suggesting `self.x` for `S { x }`, use `S { x: self.x }`Esteban Küber-1/+6
2023-09-23Tweak wording and logicEsteban Küber-1/+1
2023-08-14rebase and review commentsEsteban Küber-7/+6
2023-08-04Add tests for #57994Esteban Küber-0/+167
2023-08-04Detect method not found on arbitrary self type with different mutabilityEsteban Küber-0/+40
2023-05-23Don't ICE if method receiver fails to unify with arbitrary_self_typesMichael Goulet-0/+25
2023-05-14Add test.Camille GILLOT-0/+15
2023-05-14Revert "Validate resolution for SelfCtor too."Camille GILLOT-50/+0
2023-05-12Note base types of coercionMichael Goulet-4/+2
2023-05-04Rollup merge of #110982 - cjgillot:elided-self-const, r=petrochenkovMatthias Krüger-0/+51
2023-05-03Do not recurse into const generic args when resolving self lifetime elision.Camille GILLOT-0/+51