Use new format syntax in most places
This commit is contained in:
parent
a3a0e0b9cf
commit
f82b368fe1
10 changed files with 120 additions and 127 deletions
|
|
@ -11,7 +11,7 @@ pub trait Eprint<'a, F: Files<'a>> {
|
|||
) {
|
||||
let mut out = StandardStream::stderr(termcolor::ColorChoice::Auto);
|
||||
if let Err(e) = term::emit(&mut out, config, files, diagnostic) {
|
||||
panic!("Error while reporting error: {}", e);
|
||||
panic!("Error while reporting error: {e}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue