fix fallout from previous commit
This commit is contained in:
parent
bd4d456138
commit
91f514cc83
234 changed files with 373 additions and 371 deletions
|
|
@ -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)
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue