mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Merge #10248
10248: internal: remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
c577e128fc
10 changed files with 10 additions and 43 deletions
|
@ -26,7 +26,6 @@ pub(crate) fn render_variant(
|
|||
#[derive(Debug)]
|
||||
struct EnumRender<'a> {
|
||||
ctx: RenderContext<'a>,
|
||||
name: hir::Name,
|
||||
variant: hir::Variant,
|
||||
path: Option<hir::ModPath>,
|
||||
qualified_name: hir::ModPath,
|
||||
|
@ -58,7 +57,7 @@ impl<'a> EnumRender<'a> {
|
|||
),
|
||||
};
|
||||
|
||||
EnumRender { ctx, name, variant, path, qualified_name, short_qualified_name, variant_kind }
|
||||
EnumRender { ctx, variant, path, qualified_name, short_qualified_name, variant_kind }
|
||||
}
|
||||
fn render(self, import_to_add: Option<ImportEdit>) -> CompletionItem {
|
||||
let mut item = CompletionItem::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue