Skip to content

Commit 8c413c3

Browse files
committed
[crater experiment] make unaligned_referenced deny-by-default
1 parent 783139b commit 8c413c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_session/lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ declare_lint! {
224224

225225
declare_lint! {
226226
pub UNALIGNED_REFERENCES,
227-
Allow,
227+
Deny,
228228
"detects unaligned references to fields of packed structs",
229229
}
230230

0 commit comments

Comments
 (0)