about summary refs log tree commit diff
path: root/src/test/mir-opt/inline-closure.rs
AgeCommit message (Collapse)AuthorLines
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