]> git.lizzy.rs Git - rust.git/commit
introduce ability to if we have typeck-tables for a given def-id
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 28 Apr 2017 13:52:56 +0000 (09:52 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 28 Apr 2017 14:02:06 +0000 (10:02 -0400)
commitd7d3f197f62d7d0a1a612b7243f4617428cae53f
treee51cc43bfb613271978ea5b8eb842abdeadd1d31
parent2cca2567d9a39f159e392c47c8be6d94087242c9
introduce ability to if we have typeck-tables for a given def-id

And use this in save-analysis, which used to read the map directly.
This is an attempt to sidestep the failure occuring on homu that I
cannot reproduce.
src/librustc/ty/maps.rs
src/librustc_save_analysis/dump_visitor.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check_unused.rs