about summary refs log tree commit diff
path: root/tests/codegen/try_question_mark_nop.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2025-04-08 15:17:08 +0200
committerPietro Albini <pietro.albini@ferrous-systems.com>2025-04-10 09:56:37 +0200
commitcd371b90e25a5923f8106cea55b5705061974139 (patch)
tree7f96fff3b0a2ac9f1d07fb9cdb6488d412fb4256 /tests/codegen/try_question_mark_nop.rs
parent97c966bb40756903f8aa13995629128d157f6056 (diff)
downloadrust-cd371b90e25a5923f8106cea55b5705061974139.tar.gz
rust-cd371b90e25a5923f8106cea55b5705061974139.zip
replace `//@ compile-flags: --edition` with `//@ edition`
Diffstat (limited to 'tests/codegen/try_question_mark_nop.rs')
-rw-r--r--tests/codegen/try_question_mark_nop.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codegen/try_question_mark_nop.rs b/tests/codegen/try_question_mark_nop.rs
index 9f68d742a75..398c9a580bc 100644
--- a/tests/codegen/try_question_mark_nop.rs
+++ b/tests/codegen/try_question_mark_nop.rs
@@ -1,4 +1,5 @@
-//@ compile-flags: -Copt-level=3 -Z merge-functions=disabled --edition=2021
+//@ compile-flags: -Copt-level=3 -Z merge-functions=disabled
+//@ edition: 2021
 //@ only-x86_64
 //@ revisions: NINETEEN TWENTY
 //@[NINETEEN] exact-llvm-major-version: 19