Skip to content

Commit ffda82c

Browse files
committed
Add "size" in error str
1 parent 2f56984 commit ffda82c

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
257257
decl.source_info.span,
258258
|lint| {
259259
lint.primary_message(format!(
260-
"allocation of {:.2} {} exceeds most system architecture limits",
260+
"allocation of size: {:.2} {} exceeds most system architecture limits",
261261
size_quantity, size_unit
262262
));
263263
},

0 commit comments

Comments
 (0)