]>
git.lizzy.rs Git - rust.git/log
flip1995 [Tue, 31 Mar 2020 13:09:11 +0000 (15:09 +0200)]
Define modules in lib.rs instead of main.rs
bors [Tue, 31 Mar 2020 11:45:43 +0000 (11:45 +0000)]
Auto merge of #5397 - pmk21:macro-single-match, r=flip1995
Avoid single_match lint in macro rules
changelog: none
fixes #5359
pmk21 [Tue, 31 Mar 2020 10:43:51 +0000 (16:13 +0530)]
Small formatting change
pmk21 [Tue, 31 Mar 2020 10:20:15 +0000 (15:50 +0530)]
Skip single_match lints in macro rules
pmk21 [Tue, 31 Mar 2020 10:19:49 +0000 (15:49 +0530)]
Added test for single_match_else in macro
pmk21 [Tue, 31 Mar 2020 10:19:27 +0000 (15:49 +0530)]
Added test for single_match in macro
bors [Mon, 30 Mar 2020 21:33:49 +0000 (21:33 +0000)]
Auto merge of #5293 - matthiaskrgr:macro_skip_lifetime, r=phansch
don't emit lifetime lint warnings for code inside macros.
Fixes #5283
changelog: Don't emit lifetime lint warnings for code inside macros.
Matthias Krüger [Mon, 30 Mar 2020 18:01:57 +0000 (20:01 +0200)]
don't emit lifetime lints for code inside macros.
Fixes #5283
bors [Mon, 30 Mar 2020 19:52:41 +0000 (19:52 +0000)]
Auto merge of #5294 - tmiasko:trait-ptr-cmp, r=Manishearth
Lint unnamed address comparisons
Functions and vtables have an insignificant address. Attempts to compare such addresses will lead to very surprising behaviour. For example: addresses of different functions could compare equal; two trait object pointers representing the same object and the same type could be unequal.
Lint against unnamed address comparisons to avoid issues like those in rust-lang/rust#69757 and rust-lang/rust#54685.
changelog: New lints: [`fn_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294), [`vtable_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294)
Tomasz Miąsko [Thu, 12 Mar 2020 00:00:00 +0000 (00:00 +0000)]
Lint unnamed address comparisons
bors [Mon, 30 Mar 2020 19:20:10 +0000 (19:20 +0000)]
Auto merge of #5365 - mgr-inz-rafal:issue4983_bool_updates, r=yaahc
Issue4983 bool updates
changelog: Check for bool inequality comparison that might be written more concisely
Fixes #4983
Jane Lusby [Mon, 30 Mar 2020 19:19:30 +0000 (12:19 -0700)]
Update clippy_lints/src/needless_bool.rs
bors [Mon, 30 Mar 2020 18:53:05 +0000 (18:53 +0000)]
Auto merge of #5373 - flip1995:doc_release_backport, r=Manishearth
Document how to create releases and backports
This PR adds documentation on how to create Clippy releases and backports.
This PR also introduces a new backport/release process for Clippy:
- A beta branch is introduced: https://github.com/rust-lang/rust-clippy/tree/beta
- Backports are now done by PRs to the `beta` branch
- also commits to the beta branch will be deployed, so that the documentation page has a tab for the Clippy beta release.
This has two advantages:
1. The Clippy release process is closer to the Rust release process: stable releases are tagged, the beta release has its own branch
2. Backports to beta are easier, since they don't need as much coordination as before. No new branch has to be created for a backport. Just a PR to the beta branch, like in the Rust repo.¹
I tested the deployment here: https://github.com/flip1995/rust-clippy/runs/
534465081 and it created this commit: https://github.com/flip1995/rust-clippy/commit/
734503377e5ade55864ee674c010227a780cbf34 , so it works.
r? @Manishearth your thoughts?
[Rendered (release.md)](https://github.com/flip1995/rust-clippy/blob/doc_release_backport/doc/release.md)
[Rendered (backport.md)](https://github.com/flip1995/rust-clippy/blob/doc_release_backport/doc/backport.md)
changelog: none
---
¹: For this, we may have to modify the CI, so that beta rustc is used to check PRs to beta (or we test it locally, and merge it without bors)
bors [Mon, 30 Mar 2020 18:10:21 +0000 (18:10 +0000)]
Auto merge of #5387 - jpospychala:useless_self_fp, r=yaahc
`unused_self` false positive
fixes #5351
Remove the for loop in `unused_self` so that lint enabled for one method doesn't trigger on another method.
changelog: Fix false positive in `unused_self` around lint gates on impl items
Philipp Krones [Mon, 30 Mar 2020 17:32:48 +0000 (19:32 +0200)]
Fix typo in `release.md`
Co-Authored-By: Phil Hansch <dev@phansch.net>
bors [Mon, 30 Mar 2020 13:22:34 +0000 (13:22 +0000)]
Auto merge of #5392 - matthiaskrgr:rustup_40, r=phansch
rustup https://github.com/rust-lang/rust/pull/70536
changelog: none
Matthias Krüger [Mon, 30 Mar 2020 09:02:14 +0000 (11:02 +0200)]
rustup https://github.com/rust-lang/rust/pull/70536
bors [Mon, 30 Mar 2020 08:03:42 +0000 (08:03 +0000)]
Auto merge of #5380 - lzutao:deprecate-REPLACE_CONSTS, r=phansch
Deprecate REPLACE_CONSTS lint
Closes #5346
changelog: Deprecate `replace_consts` lint
bors [Mon, 30 Mar 2020 07:31:25 +0000 (07:31 +0000)]
Auto merge of #5390 - phansch:rustupp, r=matthiaskrgr
Rustup to https://github.com/rust-lang/rust/pull/70449
cc https://github.com/rust-lang/rust/pull/70449
changelog: none
Philipp Hansch [Mon, 30 Mar 2020 05:34:19 +0000 (07:34 +0200)]
Rustup to https://github.com/rust-lang/rust/pull/70449
Jacek Pospychala [Sun, 29 Mar 2020 20:22:28 +0000 (22:22 +0200)]
`unused_self` false positive
bors [Sun, 29 Mar 2020 18:14:38 +0000 (18:14 +0000)]
Auto merge of #5382 - richkadel:gitattributes-macro, r=phansch
git attribute macros not allowed in submodules
This change simply moves the `rust` macro definition directly into the
attributes for `*.rs` files.
git commands that recurse from the rust toplevel tree into submodules
produce errors in clippy due to the fact that:
"Custom macro attributes can be defined only in top-level
gitattributes files"
For example, from the toplevel `rust` directory in a rustc development
build, try:
$ git grep "search string" --recurse-submodules
Embedded within the actual results is the error message:
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
not allowed: src/tools/clippy/.gitattributes:1
Thank you for making Clippy better!
We're collecting our changelog from pull request descriptions.
If your PR only updates to the latest nightly, you can leave the
`changelog` entry as `none`. Otherwise, please write a short comment
explaining your change.
If your PR fixes an issue, you can add "fixes #issue_number" into this
PR description. This way the issue will be automatically closed when
your PR is merged.
If you added a new lint, here's a checklist for things that will be
checked during review or continuous integration.
- [ ] Followed [lint naming conventions][lint_naming]
- [ ] Added passing UI tests (including committed `.stderr` file)
- [ ] `cargo test` passes locally
- [ ] Executed `cargo dev update_lints`
- [ ] Added lint documentation
- [ ] Run `cargo dev fmt`
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
Note that you can skip the above if you are just opening a WIP PR in
order to get feedback.
Delete this line and everything above before opening your PR.
---
changelog: none
bors [Sun, 29 Mar 2020 15:28:56 +0000 (15:28 +0000)]
Auto merge of #5384 - matthiaskrgr:readme_4, r=matthiaskrgr
readme: move "how to run single lint" instructions to "Allowing/denying lints" section.
changelog: none
Matthias Krüger [Sun, 29 Mar 2020 14:57:09 +0000 (16:57 +0200)]
readme: move "how to run single lint" instructions to "Allowing/denying lints" section.
Rich Kadel [Sun, 29 Mar 2020 13:58:37 +0000 (06:58 -0700)]
git attribute macros not allowed in submodules
This change simply moves the `rust` macro definition directly into the
attributes for `*.rs` files.
git commands that recurse from the rust toplevel tree into submodules
produce errors in clippy due to the fact that:
"Custom macro attributes can be defined only in top-level
gitattributes files"
For example, from the toplevel `rust` directory in a rustc development
build, try:
$ git grep "search string" --recurse-submodules
Embedded within the actual results is the error message:
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
not allowed: src/tools/clippy/.gitattributes:1
bors [Sun, 29 Mar 2020 13:19:32 +0000 (13:19 +0000)]
Auto merge of #5381 - lzutao:itertools, r=matthiaskrgr
Bump itertools
changelog: none
Lzu Tao [Sun, 29 Mar 2020 05:59:35 +0000 (12:59 +0700)]
Deprecate REPLACE_CONSTS lint
Lzu Tao [Sun, 29 Mar 2020 05:50:11 +0000 (12:50 +0700)]
Bump itertools
bors [Fri, 27 Mar 2020 20:13:06 +0000 (20:13 +0000)]
Auto merge of #5376 - flip1995:verbose_file_reads_restriction, r=matthiaskrgr
Move verbose_file_reads to restriction
cc #5368
Using `File::read` instead of `fs::read_to_end` does make sense in multiple cases, so this lint is rather restriction, than complexity
changelog: Move [`verbose_file_reads`] to restriction
bors [Fri, 27 Mar 2020 19:57:44 +0000 (19:57 +0000)]
Auto merge of #5377 - matthiaskrgr:rustup_38, r=flip1995
rustup
changelog: none
Matthias Krüger [Fri, 27 Mar 2020 19:47:34 +0000 (20:47 +0100)]
remove redundant import
Matthias Krüger [Fri, 27 Mar 2020 14:41:56 +0000 (15:41 +0100)]
rustup https://github.com/rust-lang/rust/pull/68404
Matthias Krüger [Fri, 27 Mar 2020 14:35:25 +0000 (15:35 +0100)]
rustup https://github.com/rust-lang/rust/pull/69644
Matthias Krüger [Fri, 27 Mar 2020 14:34:29 +0000 (15:34 +0100)]
rustup https://github.com/rust-lang/rust/pull/70344
flip1995 [Thu, 26 Mar 2020 14:01:03 +0000 (15:01 +0100)]
Move verbose_file_reads to restriction
flip1995 [Wed, 25 Mar 2020 19:01:11 +0000 (20:01 +0100)]
Also deploy from the beta branch
flip1995 [Wed, 25 Mar 2020 18:42:24 +0000 (19:42 +0100)]
Document how to backport changes to beta
flip1995 [Wed, 25 Mar 2020 18:09:04 +0000 (19:09 +0100)]
Document how to create a Clippy release
bors [Wed, 25 Mar 2020 18:07:35 +0000 (18:07 +0000)]
Auto merge of #5334 - flip1995:backport_remerge, r=flip1995
Backport remerge
blocked on landing the backport
cc @ehuss
changelog: none
bors [Wed, 25 Mar 2020 17:21:15 +0000 (17:21 +0000)]
Auto merge of #5372 - matthiaskrgr:rpc_nursery, r=flip1995
move redundant_pub_crate to nursery
cc #5369
changelog: none
Matthias Krüger [Wed, 25 Mar 2020 17:09:25 +0000 (18:09 +0100)]
move redundant_pub_crate to nursery
cc #5369
bors [Wed, 25 Mar 2020 10:50:38 +0000 (10:50 +0000)]
Auto merge of #5371 - matthiaskrgr:rdm, r=phansch
readme: explain how to run only a single lint on a codebase
changelog: none
Matthias Krüger [Wed, 25 Mar 2020 10:36:17 +0000 (11:36 +0100)]
readme: explain how to run only a single lint on a codebase
bors [Wed, 25 Mar 2020 07:38:00 +0000 (07:38 +0000)]
Auto merge of #5370 - phansch:matches, r=matthiaskrgr
Remove dependency on `matches` crate
The std equivalent works exactly the same.
changelog: none
Philipp Hansch [Wed, 25 Mar 2020 06:50:08 +0000 (07:50 +0100)]
Remove dependency on `matches` crate
The std equivalent works exactly the same.
bors [Mon, 23 Mar 2020 20:52:57 +0000 (20:52 +0000)]
Auto merge of #5364 - flip1995:useless_transmute_quarantine, r=Manishearth
Move useless_transmute to nursery
cc #5343
@rust-lang/clippy anyone against moving this to nursery?
changelog: Move [`useless_transmute`] to nursery
bors [Mon, 23 Mar 2020 20:35:49 +0000 (20:35 +0000)]
Auto merge of #5319 - 1tgr:master, r=flip1995
Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them
changelog: Add `redundant_pub_crate` lint
Closes #5274.
mgr-inz-rafal [Mon, 23 Mar 2020 20:21:18 +0000 (21:21 +0100)]
Code clean-up and formatting
mgr-inz-rafal [Mon, 23 Mar 2020 20:00:02 +0000 (21:00 +0100)]
Provide appropriate suggestion
flip1995 [Mon, 23 Mar 2020 19:08:07 +0000 (20:08 +0100)]
Move useless_transmute to nursery
mgr-inz-rafal [Mon, 23 Mar 2020 19:29:12 +0000 (20:29 +0100)]
Initial lint without suggestion
Tim Robinson [Mon, 23 Mar 2020 16:06:15 +0000 (16:06 +0000)]
nursery group -> style
bors [Mon, 23 Mar 2020 15:17:09 +0000 (15:17 +0000)]
Auto merge of #5350 - ThibsG:FixSingleBindingClosure, r=flip1995
Fix single binding closure
Fix the `match_single_binding` lint when triggered inside a closure.
Fixes: #5347
changelog: Improve suggestion for [`match_single_binding`]
bors [Mon, 23 Mar 2020 14:41:57 +0000 (14:41 +0000)]
Auto merge of #5361 - matthiaskrgr:rustup_37, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69968/
changelog: none
Matthias Krüger [Mon, 23 Mar 2020 14:21:46 +0000 (15:21 +0100)]
rustup https://github.com/rust-lang/rust/pull/69968/
bors [Sun, 22 Mar 2020 18:54:58 +0000 (18:54 +0000)]
Auto merge of #5353 - flip1995:conf_doc, r=Manishearth
Fix documentation generation for configurable lints
In #5135, the configuration macro changed, but the documentation generation script wasn't updated. This PR catches up on this.
[Preview](https://flip1995.github.io/rust-clippy/master/index.html)
r? @Manishearth
changelog: Document configuration options of lints again.
flip1995 [Sun, 22 Mar 2020 17:15:06 +0000 (18:15 +0100)]
Fix documentation generation for configurable lints
ThibsG [Sat, 21 Mar 2020 19:26:55 +0000 (20:26 +0100)]
Fix single binding in closure
Tim Robinson [Fri, 20 Mar 2020 22:49:15 +0000 (22:49 +0000)]
Update for PR feedback
bors [Fri, 20 Mar 2020 12:45:30 +0000 (12:45 +0000)]
Auto merge of #5323 - rabisg0:fix/5284, r=flip1995
Improvement: Don't show function body in needless_lifetimes
Changes the span on which the lint is reported to point to only the
function return type instead of the entire function body.
Fixes #5284
changelog: none
bors [Thu, 19 Mar 2020 15:26:41 +0000 (15:26 +0000)]
Auto merge of #5342 - flip1995:rollup-77s2pmt, r=flip1995
Rollup of 4 pull requests
Successful merges:
- #5326 (rustup https://github.com/rust-lang/rust/pull/69838)
- #5333 (rustup https://github.com/rust-lang/rust/pull/69189)
- #5336 (rustup https://github.com/rust-lang/rust/pull/69920/)
- #5341 (Rustup to rust-lang/rust#66131)
Failed merges:
r? @ghost
changelog: none
flip1995 [Thu, 19 Mar 2020 12:58:08 +0000 (13:58 +0100)]
Get integration test binary from deps dir
cc rust-lang/cargo#7965
Philipp Krones [Thu, 19 Mar 2020 14:00:32 +0000 (15:00 +0100)]
Rollup merge of #5341 - flip1995:rustup, r=flip1995
Rustup to rust-lang/rust#66131
changelog: none
Philipp Krones [Thu, 19 Mar 2020 14:00:31 +0000 (15:00 +0100)]
Rollup merge of #5336 - matthiaskrgr:rustup_35, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69920/
changelog: none
Philipp Krones [Thu, 19 Mar 2020 14:00:30 +0000 (15:00 +0100)]
Rollup merge of #5333 - matthiaskrgr:rustup_34, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69189
rustups https://github.com/rust-lang/rust/pull/69189 which is part of https://github.com/rust-lang/rust/pull/70085
(at least I think this is the only pr that changes clippy test stdout)
changelog: none
Philipp Krones [Thu, 19 Mar 2020 14:00:29 +0000 (15:00 +0100)]
Rollup merge of #5326 - matthiaskrgr:rustup_33, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69838
changelog: none
flip1995 [Thu, 19 Mar 2020 13:33:10 +0000 (14:33 +0100)]
Rustup to rust-lang/rust#66131
Matthias Krüger [Wed, 18 Mar 2020 22:45:02 +0000 (23:45 +0100)]
rustup https://github.com/rust-lang/rust/pull/69920/
Rabi Guha [Mon, 16 Mar 2020 11:44:24 +0000 (17:14 +0530)]
Improvement: Don't show function body in needless_lifetimes
Changes the span on which the lint is reported to point to only the
function return type instead of the entire function body.
Fixes #5284
bors [Wed, 18 Mar 2020 20:34:58 +0000 (20:34 +0000)]
Auto merge of #5335 - flip1995:changelog, r=Manishearth
Update changelog to 1.43.0 beta
In the beta changelog update, I accidentally used the commit of the 1.43.0 beta, instead of the 1.42.0 beta. I fixed this in this PR.
[Rendered](https://github.com/flip1995/rust-clippy/blob/changelog/CHANGELOG.md)
r? @Manishearth
changelog: none
bors [Wed, 18 Mar 2020 14:56:05 +0000 (14:56 +0000)]
Auto merge of #5329 - matthiaskrgr:int_arith_on_ref_5328, r=flip1995
integer_arithmetic: detect integer arithmetic on references.
changelog: integer_arithmetic fix false negatives with references on integers
Fixes #5328
Matthias Krüger [Wed, 18 Mar 2020 14:41:42 +0000 (15:41 +0100)]
tests: arithmetic: split into integer_arithmetic and float_arithmetic files.
bors [Wed, 18 Mar 2020 14:34:34 +0000 (14:34 +0000)]
Auto merge of #5331 - matthiaskrgr:lint_docs1, r=flip1995
clean up a few lint docs
changelog: none
flip1995 [Wed, 18 Mar 2020 14:27:25 +0000 (15:27 +0100)]
Fix limit-stderr-files test
flip1995 [Wed, 18 Mar 2020 14:24:48 +0000 (15:24 +0100)]
Split up checked_unwrap test further
bors [Wed, 18 Mar 2020 13:58:41 +0000 (13:58 +0000)]
Auto merge of #5330 - matthiaskrgr:newlint_expl, r=flip1995
new_lint.rs: encourage authors to write more detailed code samples in lint descriptions (linted as well as fixed code)
changelog: none
flip1995 [Wed, 18 Mar 2020 13:49:40 +0000 (14:49 +0100)]
Update changelog to 1.43.0 beta
Matthias Krüger [Tue, 17 Mar 2020 22:32:30 +0000 (23:32 +0100)]
integer_arithmetic: detect integer arithmetic on references.
Also fixes the same for float_arithmetic.
changelog: integer_arithmetic,float_arithmetic: fix false negatives with references on integers
Fixes #5328
flip1995 [Wed, 18 Mar 2020 10:54:58 +0000 (11:54 +0100)]
Merge remote-tracking branch 'upstream/rust-1.43.0' into backport_remerge
Matthias Krüger [Wed, 18 Mar 2020 02:27:05 +0000 (03:27 +0100)]
rustup https://github.com/rust-lang/rust/pull/69189
rustups https://github.com/rust-lang/rust/pull/69189 which is part of https://github.com/rust-lang/rust/pull/70085
(at least I think this is the only pr that changes clippy test stdout)
Matthias Krüger [Wed, 18 Mar 2020 01:50:39 +0000 (02:50 +0100)]
clean up a few lint docs
Matthias Krüger [Wed, 18 Mar 2020 00:43:39 +0000 (01:43 +0100)]
new_lint.rs: encourage authors to write more detailed code samples in lint descriptions (linted as well as fixed code)
changelog: none
bors [Sat, 14 Mar 2020 09:23:16 +0000 (09:23 +0000)]
Auto merge of #5314 - ehuss:remove-git2, r=flip1995
Remove git2 dependency.
This removes the `git2` dependency (used in the integration test). Updating git2 is awkward because both cargo and clippy have to be updated in sync, so this removes that requirement. It didn't look like it was using the git2 library for any particular reason, so this just launches the `git` executable, which should be available more or less everywhere.
This unblocks updating Cargo.
changelog: none
Matthias Krüger [Tue, 17 Mar 2020 09:18:22 +0000 (10:18 +0100)]
rustup https://github.com/rust-lang/rust/pull/69838
bors [Mon, 16 Mar 2020 17:44:54 +0000 (17:44 +0000)]
Auto merge of #5324 - matthiaskrgr:rustup_32, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69738
changelog: none
Matthias Krüger [Mon, 16 Mar 2020 15:00:16 +0000 (16:00 +0100)]
rustup https://github.com/rust-lang/rust/pull/69738
bors [Mon, 16 Mar 2020 12:41:04 +0000 (12:41 +0000)]
Auto merge of #5322 - phansch:or_patterns, r=matthiaskrgr
Make use of `or_patterns` feature
changelog: none
Tim Robinson [Sun, 15 Mar 2020 17:38:20 +0000 (17:38 +0000)]
Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them
Closes #5274.
bors [Mon, 16 Mar 2020 12:11:00 +0000 (12:11 +0000)]
Auto merge of #5321 - matthiaskrgr:rustup_31, r=phansch
rustup https://github.com/rust-lang/rust/pull/68944
changelog: none
Matthias Krüger [Sun, 15 Mar 2020 22:41:20 +0000 (23:41 +0100)]
rustup https://github.com/rust-lang/rust/pull/68944
Philipp Hansch [Mon, 16 Mar 2020 06:23:03 +0000 (07:23 +0100)]
Make use of `or_patterns` feature
bors [Sun, 15 Mar 2020 20:57:14 +0000 (20:57 +0000)]
Auto merge of #5318 - matthiaskrgr:rustup_30, r=flip1995
rustup https://github.com/rust-lang/rust/pull/69589/
changelog: none
Matthias Krüger [Sun, 15 Mar 2020 17:23:43 +0000 (18:23 +0100)]
rustup https://github.com/rust-lang/rust/pull/69589/
bors [Sun, 15 Mar 2020 12:57:30 +0000 (12:57 +0000)]
Auto merge of #5316 - lzutao:osstr, r=phansch
Don't convert Path to lossy str
changelog: none
bors [Sat, 14 Mar 2020 21:45:38 +0000 (21:45 +0000)]
Auto merge of #5317 - JohnTitor:rustup, r=matthiaskrgr
Rustup to rust-lang/rust#69076
changelog: none
Yuki Okushi [Sat, 14 Mar 2020 20:26:32 +0000 (05:26 +0900)]
Rustup to rust-lang/rust#69076
Lzu Tao [Sat, 14 Mar 2020 14:30:08 +0000 (14:30 +0000)]
Don't convert Path to lossy str
Lzu Tao [Sat, 14 Mar 2020 15:17:52 +0000 (15:17 +0000)]
Use `into_path`
Lzu Tao [Sat, 14 Mar 2020 12:29:48 +0000 (19:29 +0700)]
Use pattern matching instead of manually checking condition
bors [Sat, 14 Mar 2020 12:17:09 +0000 (12:17 +0000)]
Auto merge of #5312 - joshtriplett:wildcard-prelude-documentation, r=flip1995
Document that wildcard_imports doesn't warn about `use ...::prelude::*;`
changelog: Improve [`wildcard_imports`] documentation