24e8158213
[on-demand] Turn monomorphic_const_eval into a proper query, not just a cache. The error definitions and reporting logic, alongside with `eval_length` were moved to `librustc`. Both local and cross-crate constant evaluation is on-demand now, but the latter is only used for `enum` discriminants, to replace the manual insertion into the cache which was done when decoding variants. r? @nikomatsakis |
||
---|---|---|
.. | ||
clean | ||
html | ||
passes | ||
build.rs | ||
Cargo.toml | ||
core.rs | ||
doctree.rs | ||
externalfiles.rs | ||
fold.rs | ||
lib.rs | ||
markdown.rs | ||
plugins.rs | ||
test.rs | ||
visit_ast.rs | ||
visit_lib.rs |