about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2022-01-21 17:29:18 +0100
committerPhilipp Krones <hello@philkrones.com>2022-06-06 16:15:53 +0200
commitb374e0f696b2fc7d9d2e252096a463dc780b45c6 (patch)
tree34f28635d51aa1600befc2ebaf340ab8b5eb401a
parentd6b013ff9e5bbacfb6140f194b1700c2602f0bab (diff)
downloadrust-b374e0f696b2fc7d9d2e252096a463dc780b45c6.tar.gz
rust-b374e0f696b2fc7d9d2e252096a463dc780b45c6.zip
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.
-rw-r--r--book/src/development/adding_lints.md7
1 files changed, 0 insertions, 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