1
Fork 0

change error for LayoutErr::SizeOverflow

This commit is contained in:
Bastian Kauschke 2020-11-18 10:42:49 +01:00
parent dcc194ce2f
commit 88584d5800
18 changed files with 32 additions and 19 deletions

View file

@ -176,7 +176,7 @@ impl<'tcx> fmt::Display for LayoutError<'tcx> {
match *self {
LayoutError::Unknown(ty) => write!(f, "the type `{}` has an unknown layout", ty),
LayoutError::SizeOverflow(ty) => {
write!(f, "the type `{}` is too big for the current architecture", ty)
write!(f, "values of the type `{}` are too big for the current architecture", ty)
}
}
}