Skip to content

Commit 72ee362

Browse files
committed
Forgot an .emit()
1 parent 37f4535 commit 72ee362

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_resolve/build_reduced_graph.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ impl<'a, 'b> BuildReducedGraphVisitor<'a, 'b> {
472472

473473
self.r
474474
.session
475-
.struct_span_err(item.span, "`$crate` may not be imported");
475+
.struct_span_err(item.span, "`$crate` may not be imported")
476+
.emit();
476477
}
477478
}
478479

0 commit comments

Comments
 (0)