mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
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!
This commit is contained in:
parent
9d3f4624e1
commit
de85f1e947
5 changed files with 16 additions and 73 deletions
|
@ -42,7 +42,6 @@ mod tests {
|
|||
let (analysis, file_id) = single_file(
|
||||
"
|
||||
fn main() {
|
||||
ctry!({ let x = 92; x});
|
||||
vec![{ let x = 92; x}];
|
||||
}
|
||||
",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue