fmt: always forget about fmt
This commit is contained in:
parent
6eb9725583
commit
2247f4cdfa
1 changed files with 11 additions and 13 deletions
|
|
@ -109,19 +109,22 @@ impl Debug for SabryCompilerError {
|
|||
Self::LightPrint(e) => format!(
|
||||
"{} at {:?}",
|
||||
e.kind,
|
||||
e.loc.clone()
|
||||
e.loc
|
||||
.clone()
|
||||
.map(|l| format!("file {}, line {}, col {}", l.filename, l.line, l.column))
|
||||
),
|
||||
Self::GrassCompile(err) => format!("{err}"),
|
||||
Self::LightMinify(e) => format!(
|
||||
"{} at {:?}",
|
||||
e.kind,
|
||||
e.loc.clone()
|
||||
e.loc
|
||||
.clone()
|
||||
.map(|l| format!("file {}, line {}, col {}", l.filename, l.line, l.column))
|
||||
),
|
||||
Self::LightParse { kind, loc } => format!(
|
||||
"{kind} at {:?}",
|
||||
loc.clone().map(|l| format!("file {}, line {}, col {}", l.filename, l.line, l.column))
|
||||
loc.clone()
|
||||
.map(|l| format!("file {}, line {}, col {}", l.filename, l.line, l.column))
|
||||
),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue