Some simple clippy::perf
fixes
This commit is contained in:
parent
1c39afb375
commit
f058d05fc2
5 changed files with 5 additions and 6 deletions
|
@ -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::new(DiagnosticMetadata::default()),
|
||||
diagnostic_metadata: Box::<DiagnosticMetadata<'_>>::default(),
|
||||
// errors at module scope should always be reported
|
||||
in_func_body: false,
|
||||
lifetime_uses: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue