Set unaligned_references lint to deny in rustc_data_structures
To detect misuse of private packed field in `PackedFingerprint`.
This commit is contained in:
parent
05dde137ca
commit
142932ab19
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
#![feature(once_cell)]
|
||||
#![feature(maybe_uninit_uninit_array)]
|
||||
#![allow(rustc::default_hash_types)]
|
||||
#![deny(unaligned_references)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue