Module rustc_incremental::persist::dirty_clean [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Debugging code to test fingerprints computed for query results.
For each node marked with #[rustc_clean]
or #[rustc_dirty]
,
we will compare the fingerprint from the current and from the previous
compilation session as appropriate:
#[rustc_clean(cfg="rev2", except="TypeckTables")]
if we are in#[cfg(rev2)]
, then the fingerprints associated withDepNode::TypeckTables(X)
must be DIFFERENT (X
is the def-id of the current node).#[rustc_clean(cfg="rev2")]
same as above, except that the fingerprints must be the SAME (along with all other fingerprints).
Errors are reported if we are in the suitable configuration but the required condition is not met.
Structs
Assertion |
[ Experimental ] Represents the requested configuration by rustc_clean/dirty |
DirtyCleanVisitor |
[ Experimental ]
|
FindAllAttrs |
[ Experimental ]
|
Constants
BASE_CONST |
[ Experimental ] For typedef, constants, and statics |
BASE_FN |
[ Experimental ] DepNodes for functions + methods |
BASE_HIR |
[ Experimental ] DepNodes for Hir, which is pretty much everything |
BASE_IMPL |
[ Experimental ]
|
BASE_MIR |
[ Experimental ] DepNodes for MirValidated/Optimized, which is relevant in "executable" code, i.e. functions+methods |
BASE_STRUCT |
[ Experimental ] Struct, Enum and Union DepNodes |
BASE_TRAIT_DEF |
[ Experimental ] Trait Definition DepNodes |
CFG |
[ Experimental ]
|
EXCEPT |
[ Experimental ]
|
EXTRA_ASSOCIATED |
[ Experimental ] extra DepNodes for methods (+fn) |
EXTRA_TRAIT |
[ Experimental ]
|
LABEL |
[ Experimental ]
|
LABELS_ADT |
[ Experimental ] Abstract Data Type (Struct, Enum, Unions) DepNodes |
LABELS_CONST |
[ Experimental ]
|
LABELS_CONST_IN_IMPL |
[ Experimental ] Constant/Typedef in an impl |
LABELS_CONST_IN_TRAIT |
[ Experimental ] Trait-Const/Typedef DepNodes |
LABELS_FN |
[ Experimental ] Function DepNode |
LABELS_FN_IN_IMPL |
[ Experimental ] Method DepNodes |
LABELS_FN_IN_TRAIT |
[ Experimental ] Trait-Method DepNodes |
LABELS_HIR_ONLY |
[ Experimental ] For generic cases like inline-assemply/mod/etc |
LABELS_IMPL |
[ Experimental ] Impl DepNodes |
LABELS_TRAIT |
[ Experimental ] Trait Definition DepNodes |
Functions
check_config |
[ Experimental ] Given a |
check_dirty_clean_annotations |
[ Experimental ]
|
expect_associated_value |
[ Experimental ]
|
Type Definitions
Labels |
[ Experimental ]
|
Existentials
[ Experimental ]
|