Skip to content

Commit 59dfe31

Browse files
committed
a
1 parent 0c92210 commit 59dfe31

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_hir_analysis/src/collect.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,7 @@ pub(crate) struct HirPlaceholderCollector {
139139
}
140140

141141
impl<'v> Visitor<'v> for HirPlaceholderCollector {
142-
fn visit_infer(
143-
&mut self,
144-
_inf_id: HirId,
145-
inf_span: Span,
146-
kind: InferKind<'v>,
147-
) -> Self::Result {
142+
fn visit_infer(&mut self, _inf_id: HirId, inf_span: Span, kind: InferKind<'v>) -> Self::Result {
148143
self.spans.push(inf_span);
149144

150145
if let InferKind::Const(_) | InferKind::Ambig(_) = kind {

0 commit comments

Comments
 (0)