5798: Introduce Label
 r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot]
2020-08-18 14:51:10 +00:00
committed by GitHub
8 changed files with 68 additions and 30 deletions

View File

@@ -782,10 +782,9 @@ fn handle_fixes(
.filter_map(|d| d.fix)
.filter(|fix| fix.fix_trigger_range.intersect(range).is_some())
{
let title = fix.label;
let edit = to_proto::snippet_workspace_edit(&snap, fix.source_change)?;
let action = lsp_ext::CodeAction {
title,
title: fix.label.to_string(),
id: None,
group: None,
kind: Some(CodeActionKind::QUICKFIX),