Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit ede868e

Browse files
authored
Merge pull request #91 from DSpeckhals/new-def-kinds
Upgrade version of rls-data
2 parents 9bfe078 + 168b549 commit ede868e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ categories = ["development-tools"]
1010
[dependencies]
1111
rustc-serialize = "0.3"
1212
log = "0.3"
13-
rls-data = "= 0.10"
13+
rls-data = "= 0.11"
1414
rls-span = "0.4"
1515
derive-new = "0.3"

src/raw.rs

+3
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,12 @@ fn read_crate_data(path: &Path) -> Option<Analysis> {
132132
pub fn name_space_for_def_kind(dk: DefKind) -> char {
133133
match dk {
134134
DefKind::Enum |
135+
DefKind::TupleVariant |
136+
DefKind::StructVariant |
135137
DefKind::Struct |
136138
DefKind::Union |
137139
DefKind::Type |
140+
DefKind::ExternType |
138141
DefKind::Trait => 't',
139142
DefKind::Function |
140143
DefKind::Method |

0 commit comments

Comments
 (0)