-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Split elided_lifetime_in_paths into finer-grained lints #120808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
79216b6
2089a29
662b848
640abd7
1bfae6e
788db3e
b0e622e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,7 +286,11 @@ lint_hidden_glob_reexport = private item shadows public glob re-export | |
.note_glob_reexport = the name `{$name}` in the {$namespace} namespace is supposed to be publicly re-exported here | ||
.note_private_item = but the private item here shadows it | ||
|
||
lint_hidden_lifetime_parameters = hidden lifetime parameters in types are deprecated | ||
lint_hidden_lifetime_in_path = | ||
paths containing hidden lifetime parameters are deprecated | ||
Comment on lines
+289
to
+290
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion [WORDING-STRENGTH 1/2]: I think I agree with @tmandry's comment earlier
where if this set of 3 lints are initially allow-by-default in this PR, we should not use "deprecated" in this PR, but instead add "deprecated" in the follow-up PR that bumps these three lints and the In this PR, I would reword this less strong initially, maybe something like
|
||
|
||
lint_hidden_lifetime_in_path_suggestion = | ||
indicate the anonymous lifetime | ||
|
||
lint_hidden_unicode_codepoints = unicode codepoint changing visible direction of text present in {$label} | ||
.label = this {$label} contains {$count -> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is unfortunate.
Ty
is a very common type, an extra 8 bytes just to fit a boolean?