Skip to content

Commit c8c9bf9

Browse files
committed
fix two compile-fail tests that were still using -Zedition
1 parent c1d8aa8 commit c8c9bf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/compile-fail/edition-raw-pointer-method-2015.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-tidy-linelength
12-
// compile-flags: -Zedition=2015 -Zunstable-options
12+
// compile-flags: --edition=2015 -Zunstable-options
1313

1414
// tests that editions work with the tyvar warning-turned-error
1515

src/test/compile-fail/edition-raw-pointer-method-2018.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-tidy-linelength
12-
// compile-flags: -Zedition=2018 -Zunstable-options
12+
// compile-flags: --edition=2018 -Zunstable-options
1313

1414
// tests that editions work with the tyvar warning-turned-error
1515

0 commit comments

Comments
 (0)