diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2015-07-14 19:08:08 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2015-07-20 15:45:11 +0200 |
| commit | 3d65c7ff849bea9cd44fc652396d50486396f867 (patch) | |
| tree | ec6ddd6ce23278c91a5b1f83ba3d1f5c49a818ae /src/test/debuginfo | |
| parent | 9175a16bd8c5b37c485dfe36fea8f9df96e02bf0 (diff) | |
| download | rust-3d65c7ff849bea9cd44fc652396d50486396f867.tar.gz rust-3d65c7ff849bea9cd44fc652396d50486396f867.zip | |
Create proper debuginfo for closure variables
Variables for closures hold a tuple of captured variables, and not the function itself. Fixes #26484
Diffstat (limited to 'src/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/basic-types-metadata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debuginfo/basic-types-metadata.rs b/src/test/debuginfo/basic-types-metadata.rs index 1bc2ddef51e..2468150a6a5 100644 --- a/src/test/debuginfo/basic-types-metadata.rs +++ b/src/test/debuginfo/basic-types-metadata.rs @@ -43,7 +43,7 @@ // gdb-command:whatis f64 // gdb-check:type = f64 // gdb-command:whatis fnptr -// gdb-check:type = void (*)(void) +// gdb-check:type = [...] (*)([...]) // gdb-command:info functions _yyy // gdb-check:[...]![...]_yyy([...]); // gdb-command:continue |
