don't clone types that are copy
found via clippy
This commit is contained in:
parent
4884061838
commit
7fbd30b1ae
15 changed files with 18 additions and 20 deletions
|
|
@ -196,7 +196,7 @@ impl AnnotateSnippetEmitterWriter {
|
|||
) {
|
||||
let converter = DiagnosticConverter {
|
||||
source_map: self.source_map.clone(),
|
||||
level: level.clone(),
|
||||
level: *level,
|
||||
message,
|
||||
code: code.clone(),
|
||||
msp: msp.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue