diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-03 16:43:26 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-03 16:43:26 +0000 |
commit | 5e622332774fbd57c12addd46b058c8feb2b08a6 (patch) | |
tree | 280d119f7430989cb9097425cbcfc03aa3c6eb04 /crates/hir_def/src/path.rs | |
parent | 8ad01d863bd747f194ac391ba6fcb950c78e3ea3 (diff) | |
parent | 74c82ca8ce82360f9509ab433263d2f4e872209b (diff) |
Merge #6401
6401: Only show `self` ident when showing parameter self hints r=matklad a=Veykril
This just hints all self parameters with the `self` token, this is therefor equal to how all other parameters are displayed, but given the self param special in how its defined in a function signature it might make sense to keep the `&`/`&mut` parts as well as emitting those tokens for explict `Self` types that are taken by ref like `self: &Rc<Self>`?
Fixes #6400
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir_def/src/path.rs')
0 files changed, 0 insertions, 0 deletions