change error for LayoutErr::SizeOverflow
This commit is contained in:
parent
dcc194ce2f
commit
88584d5800
18 changed files with 32 additions and 19 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue