summaryrefslogtreecommitdiffstats
path: root/tests/debuginfo/captured-fields-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/debuginfo/captured-fields-1.rs')
-rw-r--r--tests/debuginfo/captured-fields-1.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/debuginfo/captured-fields-1.rs b/tests/debuginfo/captured-fields-1.rs
index afbf942d4..b71734c23 100644
--- a/tests/debuginfo/captured-fields-1.rs
+++ b/tests/debuginfo/captured-fields-1.rs
@@ -1,5 +1,5 @@
// compile-flags:-g
-
+// edition:2021
// === GDB TESTS ===================================================================================
// gdb-command:run
@@ -44,7 +44,6 @@
// lldbg-check:(captured_fields_1::main::{closure_env#5}) $5 = { my_var = { my_field1 = 11 my_field2 = 22 } }
// lldb-command:continue
-#![feature(capture_disjoint_fields)]
#![allow(unused)]
struct MyStruct {