Emit warnings for unused fields in custom targets.
This commit is contained in:
parent
0ef2b4a29b
commit
88b01f1178
7 changed files with 235 additions and 91 deletions
|
@ -27,6 +27,9 @@ pub mod abi;
|
|||
pub mod asm;
|
||||
pub mod spec;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
/// Requirements for a `StableHashingContext` to be used in this crate.
|
||||
/// This is a hack to allow using the `HashStable_Generic` derive macro
|
||||
/// instead of implementing everything in `rustc_middle`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue