about summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing
AgeCommit message (Expand)AuthorLines
2025-01-13Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024Michael Goulet-11/+15
2025-01-06`best_blame_constraint`: don't filter constraints by sup SCCdianne-10/+10
2024-12-10Rudimentary heuristic to insert parentheses when needed for RPIT overcaptures...Michael Goulet-1/+28
2024-12-02Gate async fn trait bound modifier on async_trait_boundsMichael Goulet-4/+4
2024-11-28Auto merge of #133540 - ehuss:compiletest-proc-macro, r=jieyouxubors-6/+1
2024-11-27Update tests to use new proc-macro headerEric Huss-6/+1
2024-11-24Actually use placeholder regions for trait method late bound regions in colle...Michael Goulet-3/+4
2024-11-22Stabilize the 2024 editionEric Huss-35/+31
2024-11-15Rollup merge of #133080 - ehuss:edition-desugar-span, r=compiler-errorsGuillaume Gomez-0/+75
2024-11-15Fix span edition for 2024 RPIT coming from an external macroEric Huss-93/+1
2024-11-15Rollup merge of #132817 - compiler-errors:impl-trait-overcaptures-apit, r=Box...Matthias Krüger-16/+45
2024-11-15Add test for precise-capturing from an external macroEric Huss-0/+167
2024-11-12Make precise capturing suggestion machine-applicable only if it has not APITsMichael Goulet-0/+52
2024-11-11Recurse into APITs in impl_trait_overcapturesMichael Goulet-16/+45
2024-11-09Dont suggest use<APIT>Michael Goulet-12/+61
2024-11-09Suggest turning APITs into generics in opaque overcapturesMichael Goulet-1/+65
2024-10-31Rollup merge of #132209 - compiler-errors:modifiers, r=fmeaseJubilee-25/+9
2024-10-31Try to point out when edition 2024 lifetime capture rules cause borrowck issuesMichael Goulet-0/+521
2024-10-30Actually do validation for poly trait refs with ? modifierMichael Goulet-25/+9
2024-10-19Make sure that outer opaques capture inner opaques's lifetimes even with prec...Michael Goulet-0/+37
2024-10-10Clarify implicit captures for RPITITMichael Goulet-2/+2
2024-10-10Add variances to RPITITsMichael Goulet-141/+141
2024-10-10Add gate for precise capturing in traitsMichael Goulet-0/+18
2024-10-10Move ty::Error branch into super_combine_tysMichael Goulet-19/+1
2024-09-16Auto merge of #130439 - matthiaskrgr:rollup-1lkzo74, r=matthiaskrgrbors-0/+58
2024-09-16Don't ICE when RPITIT captures more method args than trait definitionMichael Goulet-0/+58
2024-09-16Introduce distinct error codes for precise capturingMichael Goulet-5/+5
2024-09-16Do precise capturing arg validation in resolveMichael Goulet-13/+22
2024-09-05Don't worry about uncaptured contravariant lifetimes if they outlive a captur...Michael Goulet-0/+15
2024-08-26Tie `impl_trait_overcaptures` lint to Rust 2024Travis Cross-6/+22
2024-08-17Bless test falloutMichael Goulet-10/+8
2024-08-17Stabilize opaque type precise capturingMichael Goulet-100/+66
2024-07-17Fix precise capturing suggestion for hidden type when APITs are involvedMichael Goulet-1/+55
2024-07-11Suggest using precise capturing for hidden type that captures regionMichael Goulet-3/+100
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-0/+112
2024-06-24Deny use<> for RPITITsMichael Goulet-45/+76
2024-06-20Add a test demonstrating that RPITITs cant use precise capturingMichael Goulet-0/+63
2024-06-17Delay a bug and mark precise_capturing as not incompleteMichael Goulet-225/+45
2024-06-17Detect duplicatesMichael Goulet-0/+39
2024-06-17Add tests for illegal use bound syntaxMichael Goulet-2/+119
2024-06-17Rework precise capturing syntaxMichael Goulet-124/+124
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-10/+1
2024-05-13And finally add testsMichael Goulet-0/+133
2024-05-13Warn against redundant use<...>Michael Goulet-1/+71
2024-04-23Rollup merge of #124169 - compiler-errors:parser-fatal, r=oli-obkMatthias Krüger-0/+25
2024-04-20Explicitly mention `Self`Michael Goulet-5/+5
2024-04-20Flip spans for precise capturing syntax not capturing a ty/ct paramMichael Goulet-14/+16
2024-04-19Fix capturing duplicated lifetimes via parentMichael Goulet-0/+66
2024-04-19Don't fatal when calling expect_one_of when recovering arg in parse_seqMichael Goulet-0/+25
2024-04-15More polishingMichael Goulet-1/+53