]> git.lizzy.rs Git - rust.git/commit
Create correct debuginfo for closure function signatures
authorBjörn Steinbrink <bsteinbr@gmail.com>
Tue, 14 Jul 2015 17:03:13 +0000 (19:03 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Sat, 18 Jul 2015 10:44:13 +0000 (12:44 +0200)
commit47128b8c7ed38b28e1e7788bc9d5197959d450e8
treeea164677ddc4a9e3368bdc8034db3e686190e1fe
parent1373c4fcf21930a22150210200bdc14f5f935b3c
Create correct debuginfo for closure function signatures

Internally, the arguments passed to the closure are represented by a
tuple, but the actual function takes them as individual arguments, so we
have to untuple the arguments before creating the debuginfo.
src/librustc_trans/trans/debuginfo/mod.rs