mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
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
@ -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…
Reference in New Issue
Block a user