diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-08-16 10:36:11 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-08-16 10:36:11 +0300 |
| commit | 32e17b5921ea3fbe90cb4b0e3760b03e3f22a143 (patch) | |
| tree | f7c7eee1c318ce243285e24fd0f4e349fc385fe9 /src/test/ui/rust-2018 | |
| parent | 2c4402638e5b24179165110eedd11aca55a0a9e4 (diff) | |
| download | rust-32e17b5921ea3fbe90cb4b0e3760b03e3f22a143.tar.gz rust-32e17b5921ea3fbe90cb4b0e3760b03e3f22a143.zip | |
tests: prefer edition: directives to compile-flags:--edition.
Diffstat (limited to 'src/test/ui/rust-2018')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/rust-2018/async-ident-allowed.rs b/src/test/ui/rust-2018/async-ident-allowed.rs index fd4eae1f9b5..3bc468483bd 100644 --- a/src/test/ui/rust-2018/async-ident-allowed.rs +++ b/src/test/ui/rust-2018/async-ident-allowed.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// compile-flags: --edition 2015 +// edition:2015 #![deny(rust_2018_compatibility)] diff --git a/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed b/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed index c7c73e90988..fc81ab08f62 100644 --- a/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed +++ b/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed @@ -10,7 +10,7 @@ // aux-build:edition-lint-paths.rs // run-rustfix -// compile-flags:--edition 2018 +// edition:2018 // The "normal case". Ideally we would remove the `extern crate` here, // but we don't. diff --git a/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.rs b/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.rs index ee37a3d766a..72751f2080c 100644 --- a/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.rs +++ b/src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.rs @@ -10,7 +10,7 @@ // aux-build:edition-lint-paths.rs // run-rustfix -// compile-flags:--edition 2018 +// edition:2018 // The "normal case". Ideally we would remove the `extern crate` here, // but we don't. diff --git a/src/test/ui/rust-2018/issue-52202-use-suggestions.rs b/src/test/ui/rust-2018/issue-52202-use-suggestions.rs index 5acd19c2471..deb80411bbf 100644 --- a/src/test/ui/rust-2018/issue-52202-use-suggestions.rs +++ b/src/test/ui/rust-2018/issue-52202-use-suggestions.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// compile-flags: --edition 2018 +// edition:2018 // The local `use` suggestion should start with `crate::` (but the // standard-library suggestions should not, obviously). |
