Remove the lifetime from DiagnosticArgName
.
Because it's always 'static.
This commit is contained in:
parent
06aa381adb
commit
f0426b77fc
2 changed files with 5 additions and 9 deletions
|
@ -1000,7 +1000,7 @@ pub struct CguMessage;
|
|||
|
||||
struct Diagnostic {
|
||||
msgs: Vec<(DiagnosticMessage, Style)>,
|
||||
args: FxHashMap<DiagnosticArgName<'static>, DiagnosticArgValue>,
|
||||
args: FxHashMap<DiagnosticArgName, DiagnosticArgValue>,
|
||||
code: Option<ErrCode>,
|
||||
lvl: Level,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue