paper over #2586 by not failing when the key is not found
This commit is contained in:
parent
ee0177b908
commit
11d868e925
@ -52,6 +52,10 @@ fn re_scope_id_to_str(cx: ctxt, node_id: ast::node_id) -> str {
|
||||
ast_map::node_id_to_str(cx.items, node_id)]) }
|
||||
}
|
||||
}
|
||||
none {
|
||||
// FIXME(#2586)
|
||||
#fmt["<unknown-%d>", node_id]
|
||||
}
|
||||
_ { cx.sess.bug(
|
||||
#fmt["re_scope refers to %s",
|
||||
ast_map::node_id_to_str(cx.items, node_id)]) }
|
||||
|
Loading…
Reference in New Issue
Block a user