summary refs log tree commit diff
path: root/src/test/ui/generator
AgeCommit message (Expand)AuthorLines
2021-06-07Revert "Update tests"bjorn3-5/+5
2021-05-30Update testsbjorn3-5/+5
2021-05-27Test THIR unsafeck for unsafe ops in closuresLeSeulArtichaut-0/+3
2021-05-24Replace more "NULL" with "null"LeSeulArtichaut-1/+1
2021-05-20Check for raw pointer dereference in THIR unsafeckLeSeulArtichaut-1/+15
2021-05-12Don't suggest adding `'static` lifetime to argumentsAaron Hill-3/+0
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-1/+1
2021-04-06Always mention `Box::pin` when dealing with `!Unpin`Esteban Küber-0/+2
2021-04-02Auto merge of #80828 - SNCPlay42:opaque-projections, r=estebankbors-3/+3
2021-03-20Move some tests to more reasonable directories - 5Caio-0/+20
2021-03-16fix expected/found order on impl trait projection mismatchSNCPlay42-3/+3
2021-03-15Only allow tait defining uses in function and method return positionOli Scherer-11/+75
2021-03-15Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual...Oli Scherer-3/+56
2021-03-12Make def_key and HIR parenting consistent.Camille GILLOT-5/+5
2021-02-19Rollup merge of #82245 - estebank:issue-78653, r=matthewjasperDylan DPC-0/+28
2021-02-17Do not ICE when evaluating locals' types of invalid `yield`Esteban Küber-0/+28
2021-02-10Keep existing names of regions in placeholder_errorMatthew Jasper-4/+4
2021-02-09Remove unnecessary note on errorsMatthew Jasper-12/+0
2021-02-06path trimming: ignore type aliasesDan Aloni-5/+5
2021-02-01Update ui testsJesus Rubio-0/+1
2021-01-15Rollup merge of #81008 - tmiasko:generator-layout-err, r=tmandryYuki Okushi-0/+37
2021-01-14Don't ICE when computing a layout of a generator tainted by errorsTomasz Miąsko-0/+37
2021-01-14Encode optimized MIR of generators when emitting metadataTomasz Miąsko-0/+34
2021-01-12Provide more information for HRTB lifetime errors involving closuresEsteban Küber-2/+30
2020-12-06Add a few basic tests for if-let guardsLeSeulArtichaut-0/+11
2020-11-23Rename `optin_builtin_traits` to `auto_traits`Camelid-1/+1
2020-11-10Use Places to express closure/generator CapturesAman Arora-2/+2
2020-10-26always record reference to binding in match if guardsSNCPlay42-1/+20
2020-10-22Explain where the closure return type was inferredAaron Hill-0/+5
2020-10-15Auto merge of #77873 - sexxi-goose:use_tuple_inference_for_closures, r=nikoma...bors-7/+7
2020-10-14switch the test to an actual MCVEDing Xiang Fei-14/+9
2020-10-14rustfmtDing Xiang Fei-1/+1
2020-10-14test derived from #74961Ding Xiang Fei-0/+29
2020-10-11traits diagnostics: Don't print closure/generator upvar_tys tupleAman Arora-4/+0
2020-10-11Always return tupled_upvar_tys for Closure/Generator consituent tysAman Arora-0/+2
2020-10-11Replace tuple of infer vars for upvar_tys with single infer varRoxane-7/+9
2020-10-06Fix tests from rebaseMatthew Jasper-1/+1
2020-10-06Fix rebaseMatthew Jasper-1/+1
2020-10-06Check opaque types satisfy their boundsMatthew Jasper-1/+0
2020-10-06Separate bounds and predicates for associated/opaque typesMatthew Jasper-0/+5
2020-09-28Add tests for updated closure/generator printingAman Arora-0/+191
2020-09-28pretty.rs: Update Closure and Generator printAman Arora-2/+2
2020-09-08Capitalize safety commentsFlying-Toast-1/+1
2020-09-02pretty: trim paths of unique symbolsDan Aloni-31/+31
2020-07-28Make closures and generators a must use typesTomasz Miąsko-10/+163
2020-07-15improve DiscriminantKind handlingBastian Kauschke-2/+2
2020-07-14Remove `Sized` `on_unimplemented` noteEsteban Küber-2/+0
2020-06-22fix subtle bug in NLL type checkerNiko Matsakis-0/+8
2020-06-22move leak-check to during coherence, candidate evalNiko Matsakis-12/+19