Skip to content

Commit

Permalink
unspecified_layout_union: Update the level of lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Jan 21, 2022
1 parent d1f8729 commit 9de9caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/unspecified_layout_union.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.60.0"]
pub UNSPECIFIED_LAYOUT_UNION,
pedantic,
restriction,
"union without a `#[repr(C)]` attribute"
}
declare_lint_pass!(UnspecifiedLayoutUnion => [UNSPECIFIED_LAYOUT_UNION]);
Expand Down

0 comments on commit 9de9caa

Please sign in to comment.