about summary refs log tree commit diff
path: root/tests/debuginfo/lexical-scope-in-while.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/debuginfo/lexical-scope-in-while.rs')
-rw-r--r--tests/debuginfo/lexical-scope-in-while.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/debuginfo/lexical-scope-in-while.rs b/tests/debuginfo/lexical-scope-in-while.rs
index d6536d77545..5fe76851bd7 100644
--- a/tests/debuginfo/lexical-scope-in-while.rs
+++ b/tests/debuginfo/lexical-scope-in-while.rs
@@ -1,4 +1,5 @@
 //@ compile-flags:-g
+//@ disable-gdb-pretty-printers
 
 // === GDB TESTS ===================================================================================
 
@@ -119,9 +120,6 @@
 // lldb-check:[...] 2
 // lldb-command:continue
 
-#![feature(omit_gdb_pretty_printer_section)]
-#![omit_gdb_pretty_printer_section]
-
 fn main() {
 
     let mut x = 0;