mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
don't to_string() format args
This commit is contained in:
parent
b22bd36f6e
commit
196650dfaf
6 changed files with 13 additions and 23 deletions
|
@ -386,7 +386,7 @@ impl MirEvalError {
|
|||
write!(
|
||||
f,
|
||||
"Layout for type `{}` is not available due {err:?}",
|
||||
ty.display(db).with_closure_style(ClosureStyle::ClosureWithId).to_string()
|
||||
ty.display(db).with_closure_style(ClosureStyle::ClosureWithId)
|
||||
)?;
|
||||
}
|
||||
MirEvalError::MirLowerError(func, err) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue