mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 21:04:18 +00:00
fix: Fix new nightly lints
This commit is contained in:
parent
00191d8e91
commit
1e1571e1c8
26 changed files with 88 additions and 96 deletions
|
|
@ -64,11 +64,11 @@ pub(crate) fn render_variant_pat(
|
|||
),
|
||||
None => {
|
||||
let name = local_name.unwrap_or_else(|| variant.name(ctx.db()));
|
||||
let it = (
|
||||
|
||||
(
|
||||
name.as_str().to_smolstr(),
|
||||
name.display(ctx.db(), ctx.completion.edition).to_smolstr(),
|
||||
);
|
||||
it
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue