aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-25 10:52:10 +0100
committerAleksey Kladov <[email protected]>2020-04-25 11:15:32 +0100
commite87346950039a54c3f0b02d6056cbb92ca38eb28 (patch)
treee42f7bd1490bca66e0786d5bf2b3194aeaa57a93
parent63a462f37ca584e1a585a69e30823ce25d4d252f (diff)
text-size 1.0.0
-rw-r--r--Cargo.lock8
-rw-r--r--crates/ra_ide/src/completion/complete_unqualified_path.rs12
-rw-r--r--crates/ra_syntax/Cargo.toml2
-rw-r--r--crates/ra_text_edit/Cargo.toml2
-rw-r--r--crates/ra_text_edit/src/text_edit.rs2
-rw-r--r--crates/test_utils/Cargo.toml2
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]]
1324name = "rowan" 1324name = "rowan"
1325version = "0.10.0-pre.1" 1325version = "0.10.0"
1326source = "registry+https://github.com/rust-lang/crates.io-index"
1327checksum = "1e081ed6eacce09e243b619ab90f069c27b0cff8a6d0eb8ad2ec935b65853798"
1326dependencies = [ 1328dependencies = [
1327 "rustc-hash", 1329 "rustc-hash",
1328 "smol_str", 1330 "smol_str",
@@ -1623,7 +1625,9 @@ dependencies = [
1623 1625
1624[[package]] 1626[[package]]
1625name = "text-size" 1627name = "text-size"
1626version = "1.0.0-pre.1" 1628version = "1.0.0"
1629source = "registry+https://github.com/rust-lang/crates.io-index"
1630checksum = "f03e7efdedc3bc78cb2337f1e2785c39e45f5ef762d9e4ebb137fff7380a6d8a"
1627 1631
1628[[package]] 1632[[package]]
1629name = "thin-dst" 1633name = "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]
14itertools = "0.9.0" 14itertools = "0.9.0"
15rowan = { path = "../../../rowan" } 15rowan = "0.10.0"
16rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } 16rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" }
17rustc-hash = "1.1.0" 17rustc-hash = "1.1.0"
18arrayvec = "0.5.1" 18arrayvec = "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
9doctest = false 9doctest = false
10 10
11[dependencies] 11[dependencies]
12text-size = { path = "../../../text-size" } 12text-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
3use crate::AtomTextEdit; 3use crate::AtomTextEdit;
4// TODO: fix Cargo.toml 4
5use text_size::{TextRange, TextSize}; 5use 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]
11difference = "2.0.0" 11difference = "2.0.0"
12text-size = { path = "../../../text-size" } 12text-size = "1.0.0"
13serde_json = "1.0.48" 13serde_json = "1.0.48"