diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-12 15:38:04 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-12 15:38:04 +0000 |
commit | 944bd2cbc3af1a11eb6dbaec96fcc0030f42232a (patch) | |
tree | a397f2d024d08c253386242d27e6543ab2fb790f /crates/ra_hir_expand/src/name.rs | |
parent | b08f26c0f8bcc640ee54914ac91da2e0d1b3e607 (diff) | |
parent | 8f7703b006bb35ab08959b01ed8ffb27d07f4d0b (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.rs | 1 |
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, |