]> git.lizzy.rs Git - rust.git/commit
convert the creepy case to just return None -- in practice, it would
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 30 Sep 2015 12:33:22 +0000 (08:33 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 1 Oct 2015 14:43:07 +0000 (10:43 -0400)
commit52a02832b8d97226eae9f3baac671dc5b562d332
tree904c98bc2a686d0779bc549625de73007fc874db
parent01f32ace0302373fb69ef9e2d0e21cc841981eba
convert the creepy case to just return None -- in practice, it would
have always been returning None anyway, since it was comparing node-ids
across crates incorrectly -- and remove the now unused map
`extern_const_variants`
src/librustc/middle/const_eval.rs
src/librustc/middle/ty/context.rs