Skip to content

Commit

Permalink
Remove turbofish
Browse files Browse the repository at this point in the history
  • Loading branch information
Noratrieb committed Apr 9, 2023
1 parent 73417b1 commit 9fc1555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/late.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ impl<'a: 'ast, 'b, 'ast, 'tcx> LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
lifetime_ribs: Vec::new(),
lifetime_elision_candidates: None,
current_trait_ref: None,
diagnostic_metadata: Box::<DiagnosticMetadata<'_>>::default(),
diagnostic_metadata: Default::default(),
// errors at module scope should always be reported
in_func_body: false,
lifetime_uses: Default::default(),
Expand Down

0 comments on commit 9fc1555

Please sign in to comment.