fix fallout from previous commit

This commit is contained in:
y21 2024-03-23 06:52:11 +01:00
parent bd4d456138
commit 91f514cc83
234 changed files with 373 additions and 371 deletions

View file

@ -44,7 +44,7 @@ impl<'tcx> LateLintPass<'tcx> for TrailingEmptyArray {
item.span,
"trailing zero-sized array in a struct which is not marked with a `repr` attribute",
None,
&format!(
format!(
"consider annotating `{}` with `#[repr(C)]` or another `repr` attribute",
cx.tcx.def_path_str(item.owner_id)
),