about summary refs log tree commit diff
path: root/src/test/debuginfo/destructured-for-loop-variable.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2014-12-03 14:48:18 -0800
committerMichael Woerister <michaelwoerister@posteo>2014-12-30 17:26:13 +0100
commit91a0e18866d143c045e9e29377a6e918011c0b63 (patch)
treec1aa9260172c0c9dabb61a525faf219a3ae9b2cc /src/test/debuginfo/destructured-for-loop-variable.rs
parentd2368c3c11ddab9d812c4ddec2e44579326ad347 (diff)
downloadrust-91a0e18866d143c045e9e29377a6e918011c0b63.tar.gz
rust-91a0e18866d143c045e9e29377a6e918011c0b63.zip
debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled.
Diffstat (limited to 'src/test/debuginfo/destructured-for-loop-variable.rs')
-rw-r--r--src/test/debuginfo/destructured-for-loop-variable.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/debuginfo/destructured-for-loop-variable.rs b/src/test/debuginfo/destructured-for-loop-variable.rs
index 9935bb60364..364720d0e4f 100644
--- a/src/test/debuginfo/destructured-for-loop-variable.rs
+++ b/src/test/debuginfo/destructured-for-loop-variable.rs
@@ -152,6 +152,9 @@
 // lldb-check:[...]$23 = (34903493, 232323)
 // lldb-command:continue
 
+#![allow(unused_variables)]
+#![omit_gdb_pretty_printer_section]
+
 struct Struct {
     x: i16,
     y: f32,