aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/name.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-12 15:38:04 +0000
committerGitHub <[email protected]>2020-03-12 15:38:04 +0000
commit944bd2cbc3af1a11eb6dbaec96fcc0030f42232a (patch)
treea397f2d024d08c253386242d27e6543ab2fb790f /crates/ra_hir_expand/src/name.rs
parentb08f26c0f8bcc640ee54914ac91da2e0d1b3e607 (diff)
parent8f7703b006bb35ab08959b01ed8ffb27d07f4d0b (diff)
Merge #3559
3559: Implement builtin assert! macro r=matklad a=edwin0cheng This PR add a dummy implementation for `assert!` macro, which mainly make `hover` and `goto-def` works on arguments inside it. Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand/src/name.rs')
-rw-r--r--crates/ra_hir_expand/src/name.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_expand/src/name.rs b/crates/ra_hir_expand/src/name.rs
index 6d201256f..25cc1e9fc 100644
--- a/crates/ra_hir_expand/src/name.rs
+++ b/crates/ra_hir_expand/src/name.rs
@@ -172,6 +172,7 @@ pub mod known {
172 column, 172 column,
173 compile_error, 173 compile_error,
174 line, 174 line,
175 assert,
175 stringify, 176 stringify,
176 concat, 177 concat,
177 include, 178 include,