Update code based on PR comments
This patch does the following: - Refactor some repeated lines into a single one - Split the `ungated_async_fn_caller` lint into multiple lines, and make one of those lines only print out on nightly - Use test revisions instead of copying an existing test
This commit is contained in:
parent
04926e0534
commit
dc2c4ce578
8 changed files with 51 additions and 106 deletions
|
@ -350,7 +350,8 @@ lint_builtin_mutable_transmutes =
|
|||
|
||||
lint_builtin_unstable_features = unstable feature
|
||||
|
||||
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op, unless the `closure_track_caller` feature is enabled
|
||||
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
|
||||
.suggestion = enable this feature
|
||||
|
||||
lint_builtin_unreachable_pub = unreachable `pub` {$what}
|
||||
.suggestion = consider restricting its visibility
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue