about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ich/mod.rs
blob: c8fb2bf39cc80025f6fab13fbbaa189ceb58b03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! ICH - Incremental Compilation Hash

pub use self::hcx::{
    hash_stable_trait_impls, NodeIdHashingMode, StableHashingContext, StableHashingContextProvider,
};
use rustc_span::symbol::{sym, Symbol};

mod hcx;

mod impls_hir;
mod impls_syntax;
mod impls_ty;

pub const IGNORED_ATTRIBUTES: &[Symbol] = &[
    sym::cfg,
    sym::rustc_if_this_changed,
    sym::rustc_then_this_would_need,
    sym::rustc_dirty,
    sym::rustc_clean,
    sym::rustc_partition_reused,
    sym::rustc_partition_codegened,
    sym::rustc_expected_cgu_reuse,
];