From 3d65c7ff849bea9cd44fc652396d50486396f867 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 14 Jul 2015 19:08:08 +0200 Subject: Create proper debuginfo for closure variables Variables for closures hold a tuple of captured variables, and not the function itself. Fixes #26484 --- src/test/debuginfo/basic-types-metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/debuginfo') 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 -- cgit 1.4.1-3-g733a5