Skip to content

Commit 79eabe9

Browse files
committed
---
yaml --- r: 232538 b: refs/heads/try c: fdba872 h: refs/heads/master v: v3
1 parent e3d012c commit 79eabe9

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,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: ed9f8f83c90e995ad41f8c3c26f81d34900ec631
4+
refs/heads/try: fdba872944675a2c2aa146ab3caadbad14452e97
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)