diff options
author | Aleksey Kladov <[email protected]> | 2020-04-25 10:52:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-25 11:15:32 +0100 |
commit | e87346950039a54c3f0b02d6056cbb92ca38eb28 (patch) | |
tree | e42f7bd1490bca66e0786d5bf2b3194aeaa57a93 | |
parent | 63a462f37ca584e1a585a69e30823ce25d4d252f (diff) |
text-size 1.0.0
-rw-r--r-- | Cargo.lock | 8 | ||||
-rw-r--r-- | crates/ra_ide/src/completion/complete_unqualified_path.rs | 12 | ||||
-rw-r--r-- | crates/ra_syntax/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_text_edit/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_text_edit/src/text_edit.rs | 2 | ||||
-rw-r--r-- | crates/test_utils/Cargo.toml | 2 |
6 files changed, 16 insertions, 12 deletions
diff --git a/Cargo.lock b/Cargo.lock index 70dfa019d..20e6cd540 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1322,7 +1322,9 @@ dependencies = [ | |||
1322 | 1322 | ||
1323 | [[package]] | 1323 | [[package]] |
1324 | name = "rowan" | 1324 | name = "rowan" |
1325 | version = "0.10.0-pre.1" | 1325 | version = "0.10.0" |
1326 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1327 | checksum = "1e081ed6eacce09e243b619ab90f069c27b0cff8a6d0eb8ad2ec935b65853798" | ||
1326 | dependencies = [ | 1328 | dependencies = [ |
1327 | "rustc-hash", | 1329 | "rustc-hash", |
1328 | "smol_str", | 1330 | "smol_str", |
@@ -1623,7 +1625,9 @@ dependencies = [ | |||
1623 | 1625 | ||
1624 | [[package]] | 1626 | [[package]] |
1625 | name = "text-size" | 1627 | name = "text-size" |
1626 | version = "1.0.0-pre.1" | 1628 | version = "1.0.0" |
1629 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1630 | checksum = "f03e7efdedc3bc78cb2337f1e2785c39e45f5ef762d9e4ebb137fff7380a6d8a" | ||
1627 | 1631 | ||
1628 | [[package]] | 1632 | [[package]] |
1629 | name = "thin-dst" | 1633 | name = "thin-dst" |
diff --git a/crates/ra_ide/src/completion/complete_unqualified_path.rs b/crates/ra_ide/src/completion/complete_unqualified_path.rs index b2af81ae5..56cd086c6 100644 --- a/crates/ra_ide/src/completion/complete_unqualified_path.rs +++ b/crates/ra_ide/src/completion/complete_unqualified_path.rs | |||
@@ -1333,8 +1333,8 @@ mod tests { | |||
1333 | [ | 1333 | [ |
1334 | CompletionItem { | 1334 | CompletionItem { |
1335 | label: "f()", | 1335 | label: "f()", |
1336 | source_range: [98; 99), | 1336 | source_range: 98..99, |
1337 | delete: [98; 99), | 1337 | delete: 98..99, |
1338 | insert: "f()$0", | 1338 | insert: "f()$0", |
1339 | kind: Function, | 1339 | kind: Function, |
1340 | lookup: "f", | 1340 | lookup: "f", |
@@ -1342,15 +1342,15 @@ mod tests { | |||
1342 | }, | 1342 | }, |
1343 | CompletionItem { | 1343 | CompletionItem { |
1344 | label: "m", | 1344 | label: "m", |
1345 | source_range: [98; 99), | 1345 | source_range: 98..99, |
1346 | delete: [98; 99), | 1346 | delete: 98..99, |
1347 | insert: "m", | 1347 | insert: "m", |
1348 | kind: Module, | 1348 | kind: Module, |
1349 | }, | 1349 | }, |
1350 | CompletionItem { | 1350 | CompletionItem { |
1351 | label: "m::E::V", | 1351 | label: "m::E::V", |
1352 | source_range: [98; 99), | 1352 | source_range: 98..99, |
1353 | delete: [98; 99), | 1353 | delete: 98..99, |
1354 | insert: "m::E::V", | 1354 | insert: "m::E::V", |
1355 | kind: EnumVariant, | 1355 | kind: EnumVariant, |
1356 | detail: "()", | 1356 | detail: "()", |
diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index dda396582..7ffe46c69 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml | |||
@@ -12,7 +12,7 @@ doctest = false | |||
12 | 12 | ||
13 | [dependencies] | 13 | [dependencies] |
14 | itertools = "0.9.0" | 14 | itertools = "0.9.0" |
15 | rowan = { path = "../../../rowan" } | 15 | rowan = "0.10.0" |
16 | rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } | 16 | rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } |
17 | rustc-hash = "1.1.0" | 17 | rustc-hash = "1.1.0" |
18 | arrayvec = "0.5.1" | 18 | arrayvec = "0.5.1" |
diff --git a/crates/ra_text_edit/Cargo.toml b/crates/ra_text_edit/Cargo.toml index 9b0567c98..46a2ab68f 100644 --- a/crates/ra_text_edit/Cargo.toml +++ b/crates/ra_text_edit/Cargo.toml | |||
@@ -9,4 +9,4 @@ publish = false | |||
9 | doctest = false | 9 | doctest = false |
10 | 10 | ||
11 | [dependencies] | 11 | [dependencies] |
12 | text-size = { path = "../../../text-size" } | 12 | text-size = "1.0.0" |
diff --git a/crates/ra_text_edit/src/text_edit.rs b/crates/ra_text_edit/src/text_edit.rs index db69a7e7b..eabab4b4d 100644 --- a/crates/ra_text_edit/src/text_edit.rs +++ b/crates/ra_text_edit/src/text_edit.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | 2 | ||
3 | use crate::AtomTextEdit; | 3 | use crate::AtomTextEdit; |
4 | // TODO: fix Cargo.toml | 4 | |
5 | use text_size::{TextRange, TextSize}; | 5 | use text_size::{TextRange, TextSize}; |
6 | 6 | ||
7 | #[derive(Debug, Clone)] | 7 | #[derive(Debug, Clone)] |
diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index 652ab4537..8ec986bcb 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml | |||
@@ -9,5 +9,5 @@ doctest = false | |||
9 | 9 | ||
10 | [dependencies] | 10 | [dependencies] |
11 | difference = "2.0.0" | 11 | difference = "2.0.0" |
12 | text-size = { path = "../../../text-size" } | 12 | text-size = "1.0.0" |
13 | serde_json = "1.0.48" | 13 | serde_json = "1.0.48" |