diff options
author | Aleksey Kladov <[email protected]> | 2019-02-01 07:52:36 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-01 07:52:36 +0000 |
commit | de85f1e94740d9a19066f7fda2e57d26973e472c (patch) | |
tree | 7346c0bed5398138702c83aafff7ee6752e821ab /crates/ra_ide_api/src/syntax_highlighting.rs | |
parent | 9d3f4624e1a83eb945f4df6427fc650356ea77fa (diff) |
remove hard-coded support for ctry macro
It was used mainly to prevent HirFileId infra from bitroting, but the
`vec![]` macro can serve that just as well!
Diffstat (limited to 'crates/ra_ide_api/src/syntax_highlighting.rs')
-rw-r--r-- | crates/ra_ide_api/src/syntax_highlighting.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/syntax_highlighting.rs b/crates/ra_ide_api/src/syntax_highlighting.rs index 26bde495b..6c4391e1e 100644 --- a/crates/ra_ide_api/src/syntax_highlighting.rs +++ b/crates/ra_ide_api/src/syntax_highlighting.rs | |||
@@ -42,7 +42,6 @@ mod tests { | |||
42 | let (analysis, file_id) = single_file( | 42 | let (analysis, file_id) = single_file( |
43 | " | 43 | " |
44 | fn main() { | 44 | fn main() { |
45 | ctry!({ let x = 92; x}); | ||
46 | vec![{ let x = 92; x}]; | 45 | vec![{ let x = 92; x}]; |
47 | } | 46 | } |
48 | ", | 47 | ", |