use new format string syntax in some places
This commit is contained in:
parent
855af088b8
commit
507c09f45f
@ -414,11 +414,11 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
||||
)
|
||||
}
|
||||
},
|
||||
CreatedCallId(id) => format!("function call with id {}", id),
|
||||
CreatedAlloc(AllocId(id)) => format!("created allocation with id {}", id),
|
||||
FreedAlloc(AllocId(id)) => format!("freed allocation with id {}", id),
|
||||
CreatedCallId(id) => format!("function call with id {id}"),
|
||||
CreatedAlloc(AllocId(id)) => format!("created allocation with id {id}"),
|
||||
FreedAlloc(AllocId(id)) => format!("freed allocation with id {id}"),
|
||||
RejectedIsolatedOp(ref op) =>
|
||||
format!("{} was made to return an error due to isolation", op),
|
||||
format!("{op} was made to return an error due to isolation"),
|
||||
};
|
||||
|
||||
let (title, diag_level) = match e {
|
||||
|
Loading…
x
Reference in New Issue
Block a user