Skip to content

Commit 09bbd2c

Browse files
committed
---
yaml --- r: 227117 b: refs/heads/master c: fdba872 h: refs/heads/master i: 227115: 8e4da6f v: v3
1 parent b65c047 commit 09bbd2c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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: ed9f8f83c90e995ad41f8c3c26f81d34900ec631
2+
refs/heads/master: fdba872944675a2c2aa146ab3caadbad14452e97
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/librustc_resolve/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4034,6 +4034,14 @@ pub fn resolve_crate<'a, 'tcx>(session: &'a Session,
40344034
}
40354035
}
40364036

4037+
/// Builds a name resolution walker to be used within this module,
4038+
/// or used externally, with an optional callback function.
4039+
///
4040+
/// The callback takes a &mut bool which allows callbacks to end a
4041+
/// walk when set to true, passing through the rest of the walk, while
4042+
/// preserving the ribs + current module. This allows resolve_path
4043+
/// calls to be made with the correct scope info. The node in the
4044+
/// callback corresponds to the current node in the walk.
40374045
pub fn create_resolver<'a, 'tcx>(session: &'a Session,
40384046
ast_map: &'a ast_map::Map<'tcx>,
40394047
krate: &'a Crate,

0 commit comments

Comments
 (0)