aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-17 15:45:30 +0000
committerGitHub <[email protected]>2019-11-17 15:45:30 +0000
commit64dac40a8665c851e48c50e6f778a51aeac2838e (patch)
tree67b62c8c85fe073172c124c98a72269a677c0903 /crates/ra_hir_def
parent4f0d4c65a597318165d3a034cf6fd615872b7b74 (diff)
parent7e2f4b30db8a0d734b3a1fc9f6ad77b2adc9aa2a (diff)
Merge #2287
2287: Disable doctests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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 { () => {} }