about summary refs log tree commit diff
path: root/src/test/mir-opt/inline-closure.rs
AgeCommit message (Collapse)AuthorLines
2019-12-20Move the rest of the mir-opt inline tests into a folderWesley Wiser-50/+0
2019-11-28rustc: hide HirId's fmt::Debug output from -Z span_free_formats.Eduard-Mihai Burtescu-3/+3
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵Eduard-Mihai Burtescu-18/+34
VarDebugInfo.
2019-11-05rustc: remove "GlobalMetaData" dead code from hir::map::definitions.Eduard-Mihai Burtescu-1/+1
2019-05-09cleanup: Remove `DefIndexAddressSpace`Vadim Petrochenkov-1/+1
2019-04-21Move `async fn` arguments into closure.David Wood-1/+1
This commit takes advantage of `AsyncArgument` type that was added in a previous commit to replace the arguments of the `async fn` in the HIR and add statements to move the bindings from the new arguments to the pattern from the old argument. For example, the async function `foo` below: async fn foo((x, _y): (T, V)) { async move { } } becomes: async fn foo(__arg0: (T, V)) { async move { let (x, _y) = __arg0; } }
2019-04-14Update testsJohn Kåre Alsaker-1/+1
2019-03-07HirIdification: replace NodeId method callsljedrz-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-26Fix tests and rustdocNick Cameron-1/+1
2018-06-27Update MIR opt testsMatthew Jasper-1/+1
2017-11-28tests: update to include move annotations in MIR.Eduard-Mihai Burtescu-4/+4
2017-11-19fix closure inlining by spilling arguments to a temporaryNiko Matsakis-2/+4
2017-11-14Fix testShotaro Yamada-19/+8
2017-11-14Handle closures correctly in MIR inliningShotaro Yamada-0/+53