diff options
author | Florian Diebold <[email protected]> | 2018-12-26 20:24:49 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-01-04 17:28:36 +0000 |
commit | fe6c4115f6c8bb5b5f276bafcbd9cc3fc1d504d1 (patch) | |
tree | f3f06509c39c3cbeadd0e82d534834270c8fc395 /crates/ra_lsp_server/src | |
parent | a0d483011d5f84747fcc5d5fe9c82f4405d24db9 (diff) |
Rename ImplItem to ImplBlock
rustc uses the name ImplItem for items in impls, not the impl {} block itself,
which could lead to confusion.
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/conv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs index 7230fb101..e8eb3940f 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs | |||
@@ -44,7 +44,7 @@ impl Conv for SyntaxKind { | |||
44 | SyntaxKind::TYPE_DEF => SymbolKind::TypeParameter, | 44 | SyntaxKind::TYPE_DEF => SymbolKind::TypeParameter, |
45 | SyntaxKind::STATIC_DEF => SymbolKind::Constant, | 45 | SyntaxKind::STATIC_DEF => SymbolKind::Constant, |
46 | SyntaxKind::CONST_DEF => SymbolKind::Constant, | 46 | SyntaxKind::CONST_DEF => SymbolKind::Constant, |
47 | SyntaxKind::IMPL_ITEM => SymbolKind::Object, | 47 | SyntaxKind::IMPL_BLOCK => SymbolKind::Object, |
48 | _ => SymbolKind::Variable, | 48 | _ => SymbolKind::Variable, |
49 | } | 49 | } |
50 | } | 50 | } |