From b374e0f696b2fc7d9d2e252096a463dc780b45c6 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Fri, 21 Jan 2022 17:29:18 +0100 Subject: [PATCH] Remove Edition 2018 tests section from adding lints doc The UI tests now use the latest edition by default. Testing on older editions should almost never be necessary, so I don't see a need to document this. --- book/src/development/adding_lints.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/book/src/development/adding_lints.md b/book/src/development/adding_lints.md index 7ffada8aef1..3da07fcb968 100644 --- a/book/src/development/adding_lints.md +++ b/book/src/development/adding_lints.md @@ -147,13 +147,6 @@ the tests. [rustfix]: https://github.com/rust-lang/rustfix -## Edition 2018 tests - -Some features require the 2018 edition to work (e.g. `async_await`), but -compile-test tests run on the 2015 edition by default. To change this behavior -add `// edition:2018` at the top of the test file (note that it's -space-sensitive). - ## Testing manually Manually testing against an example file can be useful if you have added some