rustc: track fields in the HIR map.

This commit is contained in:
Eduard Burtescu 2016-11-09 20:57:48 +02:00 committed by Eduard-Mihai Burtescu
parent 36d33d6b71
commit fcdb4def83
3 changed files with 26 additions and 0 deletions

View file

@ -299,6 +299,7 @@ impl<'a, 'tcx> ReachableContext<'a, 'tcx> {
ast_map::NodeForeignItem(_) |
ast_map::NodeVariant(_) |
ast_map::NodeStructCtor(_) |
ast_map::NodeField(_) |
ast_map::NodeTy(_) => {}
_ => {
bug!("found unexpected thingy in worklist: {}",