aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-17 15:35:05 +0000
committerAleksey Kladov <[email protected]>2019-11-17 15:35:05 +0000
commit7e2f4b30db8a0d734b3a1fc9f6ad77b2adc9aa2a (patch)
treee8cc01507c92d33b8237e39072b13bbe0ccacd33 /crates/ra_hir_def
parent52389657c575b7a4d87c817f9678a8d985172049 (diff)
Disable doctests
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r--crates/ra_hir_def/Cargo.toml3
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs2
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_hir_def/Cargo.toml b/crates/ra_hir_def/Cargo.toml
index 21262be79..7e65f4c1d 100644
--- a/crates/ra_hir_def/Cargo.toml
+++ b/crates/ra_hir_def/Cargo.toml
@@ -4,6 +4,9 @@ name = "ra_hir_def"
4version = "0.1.0" 4version = "0.1.0"
5authors = ["rust-analyzer developers"] 5authors = ["rust-analyzer developers"]
6 6
7[lib]
8doctest = false
9
7[dependencies] 10[dependencies]
8log = "0.4.5" 11log = "0.4.5"
9once_cell = "1.0.1" 12once_cell = "1.0.1"
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs
index c9ccb9023..8f426b097 100644
--- a/crates/ra_hir_def/src/nameres/collector.rs
+++ b/crates/ra_hir_def/src/nameres/collector.rs
@@ -165,7 +165,7 @@ where
165 /// crate::foo!(); 165 /// crate::foo!();
166 /// ``` 166 /// ```
167 /// 167 ///
168 /// Well, this code compiles, bacause the plain path `foo` in `use` is searched 168 /// Well, this code compiles, because the plain path `foo` in `use` is searched
169 /// in the legacy textual scope only. 169 /// in the legacy textual scope only.
170 /// ```rust 170 /// ```rust
171 /// macro_rules! foo { () => {} } 171 /// macro_rules! foo { () => {} }