Skip to content

Commit

Permalink
Fix macro completion
Browse files Browse the repository at this point in the history
  • Loading branch information
kngwyu committed Nov 23, 2019
1 parent 8bb5a4d commit 4e8d38f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/racer/nameres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2443,11 +2443,12 @@ fn get_std_macros(
for macro_file in &[
"libstd/macros.rs",
"libcore/macros.rs",
"libcore/macros/mod.rs",
"liballoc/macros.rs",
] {
let macro_path = std_path.join(macro_file);
if !macro_path.exists() {
return;
continue;
}
get_std_macros_(
&macro_path,
Expand Down

0 comments on commit 4e8d38f

Please sign in to comment.