about summary refs log tree commit diff
path: root/tests/debuginfo/method-on-generic-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/debuginfo/method-on-generic-struct.rs')
-rw-r--r--tests/debuginfo/method-on-generic-struct.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/debuginfo/method-on-generic-struct.rs b/tests/debuginfo/method-on-generic-struct.rs
index 1e6c9d66178..5da952fa4e1 100644
--- a/tests/debuginfo/method-on-generic-struct.rs
+++ b/tests/debuginfo/method-on-generic-struct.rs
@@ -1,4 +1,5 @@
 //@ compile-flags:-g
+//@ disable-gdb-pretty-printers
 
 // === GDB TESTS ===================================================================================
 
@@ -99,9 +100,6 @@
 // lldb-check:[...] -10
 // lldb-command:continue
 
-#![feature(omit_gdb_pretty_printer_section)]
-#![omit_gdb_pretty_printer_section]
-
 #[derive(Copy, Clone)]
 struct Struct<T> {
     x: T