Closed
Description
This is a tracking issue for the RFC "Deprecate anonymous parameters " (rust-lang/rfcs#1685).
Steps:
- Implement the RFC (cc @rust-lang/compiler -- can anyone write up mentoring instructions?)Adjust documentation (see instructions on forge)
Unresolved questions:
- The precise deprecation strategy
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
est31 commentedon May 1, 2017
I could work on this. From reading the RFC discussion, I think the "soft" deprecation strategy has been chosen? So on the compiler side, we'll need an allow by default (deprecation) lint for anonymous parameters, right?
aturon commentedon May 1, 2017
@est31 Awesome! And yes, that's correct. This will be most effective if we add the lint to Clippy as well.
(The open question is around the criteria for moving to a warn-by-default strategy in the future.)
Removal pass for anonymous parameters
est31 commentedon May 2, 2017
About the clippy lint, I'll leave that to someone else. Given #41692, it should be mostly copy paste, but maybe with official rust claiming the lint name one has to chose another one. No idea.
Rollup merge of rust-lang#41692 - est31:anon_params, r=eddyb
Rollup merge of rust-lang#41693 - est31:anon_params_removal, r=eddyb
matklad commentedon May 5, 2017
IJR inspection: intellij-rust/intellij-rust#1211
I'll try to add an automatic fix to
rustfmt
as well. Not sure it's a great idea, but I want to try :)65 remaining items