diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2022-01-21 17:29:18 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-06-06 16:15:53 +0200 |
| commit | b374e0f696b2fc7d9d2e252096a463dc780b45c6 (patch) | |
| tree | 34f28635d51aa1600befc2ebaf340ab8b5eb401a | |
| parent | d6b013ff9e5bbacfb6140f194b1700c2602f0bab (diff) | |
| download | rust-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.md | 7 |
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 |
