We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f331cd9 commit e7ce323Copy full SHA for e7ce323
src/rustc/util/ppaux.rs
@@ -28,12 +28,12 @@ fn bound_region_to_str(cx: ctxt, br: bound_region) -> str {
28
}
29
30
fn re_scope_id_to_str(cx: ctxt, node_id: ast::node_id) -> str {
31
- alt cx.items.get(node_id) {
32
- ast_map::node_block(blk) {
+ alt cx.items.find(node_id) {
+ some(ast_map::node_block(blk)) {
33
#fmt("<block at %s>",
34
codemap::span_to_str(blk.span, cx.sess.codemap))
35
36
- ast_map::node_expr(expr) {
+ some(ast_map::node_expr(expr)) {
37
alt expr.node {
38
ast::expr_call(*) {
39
#fmt("<call at %s>",
0 commit comments