Skip to content

Commit 2b790f7

Browse files
committed
rustc_plugin: fix compilation
1 parent 441e099 commit 2b790f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_plugin/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ impl<'v> ItemLikeVisitor<'v> for RegistrarFinder {
3535

3636
fn visit_impl_item(&mut self, _impl_item: &hir::ImplItem) {
3737
}
38+
39+
fn visit_expr_id(&mut self, _: hir::ExprId) { }
3840
}
3941

4042
/// Find the function marked with `#[plugin_registrar]`, if any.

0 commit comments

Comments
 (0)