diff options
| author | Kurtis Nusbaum <kurtis@uber.com> | 2018-04-20 18:51:59 -0700 |
|---|---|---|
| committer | Kurtis Nusbaum <kurtis@uber.com> | 2018-04-20 18:51:59 -0700 |
| commit | c8c9bf97e3ed2eab3ed60a3412574e7c5b548eab (patch) | |
| tree | aa79d0f35872fc1dfaf5d548caecdf8f6f98882b | |
| parent | c1d8aa829c5514bb1b6c9fe41c82505bd1aa575c (diff) | |
| download | rust-c8c9bf97e3ed2eab3ed60a3412574e7c5b548eab.tar.gz rust-c8c9bf97e3ed2eab3ed60a3412574e7c5b548eab.zip | |
fix two compile-fail tests that were still using -Zedition
| -rw-r--r-- | src/test/compile-fail/edition-raw-pointer-method-2015.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/edition-raw-pointer-method-2018.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/edition-raw-pointer-method-2015.rs b/src/test/compile-fail/edition-raw-pointer-method-2015.rs index fdc9b4f704c..b304443f631 100644 --- a/src/test/compile-fail/edition-raw-pointer-method-2015.rs +++ b/src/test/compile-fail/edition-raw-pointer-method-2015.rs @@ -9,7 +9,7 @@ // except according to those terms. // ignore-tidy-linelength -// compile-flags: -Zedition=2015 -Zunstable-options +// compile-flags: --edition=2015 -Zunstable-options // tests that editions work with the tyvar warning-turned-error diff --git a/src/test/compile-fail/edition-raw-pointer-method-2018.rs b/src/test/compile-fail/edition-raw-pointer-method-2018.rs index 58b34591029..d01cac019e3 100644 --- a/src/test/compile-fail/edition-raw-pointer-method-2018.rs +++ b/src/test/compile-fail/edition-raw-pointer-method-2018.rs @@ -9,7 +9,7 @@ // except according to those terms. // ignore-tidy-linelength -// compile-flags: -Zedition=2018 -Zunstable-options +// compile-flags: --edition=2018 -Zunstable-options // tests that editions work with the tyvar warning-turned-error |
