Skip to content

Commit b65c047

Browse files
committed
---
yaml --- r: 227116 b: refs/heads/master c: ed9f8f8 h: refs/heads/master v: v3
1 parent 8e4da6f commit b65c047

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8b98256f64362cc524952c0641f4e23c27937db1
2+
refs/heads/master: ed9f8f83c90e995ad41f8c3c26f81d34900ec631
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/librustc_trans/save/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ use syntax::print::pprust::ty_to_string;
2828
use self::span_utils::SpanUtils;
2929

3030

31-
mod span_utils;
32-
mod recorder;
31+
pub mod span_utils;
32+
pub mod recorder;
3333

3434
mod dump_csv;
3535

@@ -661,7 +661,7 @@ impl<'l, 'tcx: 'l> SaveContext<'l, 'tcx> {
661661
}
662662

663663
#[inline]
664-
fn enclosing_scope(&self, id: NodeId) -> NodeId {
664+
pub fn enclosing_scope(&self, id: NodeId) -> NodeId {
665665
self.tcx.map.get_enclosing_scope(id).unwrap_or(0)
666666
}
667667
}

0 commit comments

Comments
 (0)