Skip to content

Commit 9fc1555

Browse files
committed
Remove turbofish
1 parent 73417b1 commit 9fc1555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/late.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ impl<'a: 'ast, 'b, 'ast, 'tcx> LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
12241224
lifetime_ribs: Vec::new(),
12251225
lifetime_elision_candidates: None,
12261226
current_trait_ref: None,
1227-
diagnostic_metadata: Box::<DiagnosticMetadata<'_>>::default(),
1227+
diagnostic_metadata: Default::default(),
12281228
// errors at module scope should always be reported
12291229
in_func_body: false,
12301230
lifetime_uses: Default::default(),

0 commit comments

Comments
 (0)