about summary refs log tree commit diff
path: root/tests/ui/async-await/task-context-arg.rs
AgeCommit message (Collapse)AuthorLines
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-3/+3
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-04-11Preserve argument indexes when inlining MIRDavid Lattimore-0/+25
We store argument indexes on VarDebugInfo. Unlike the previous method of relying on the variable index to know whether a variable is an argument, this survives MIR inlining. We also no longer check if var.source_info.scope is the outermost scope. When a function gets inlined, the arguments to the inner function will no longer be in the outermost scope. What we care about though is whether they were in the outermost scope prior to inlining, which we know by whether we assigned an argument index.