Set unaligned_references lint to deny in rustc_data_structures

To detect misuse of private packed field in `PackedFingerprint`.
This commit is contained in:
Tyson Nottingham 2020-11-20 01:13:15 -08:00
parent 05dde137ca
commit 142932ab19

View File

@ -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;