Skip to content

Commit 8e0b0c8

Browse files
committed
---
yaml --- r: 227476 b: refs/heads/auto c: fdba872 h: refs/heads/master v: v3
1 parent a798630 commit 8e0b0c8

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
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: ed9f8f83c90e995ad41f8c3c26f81d34900ec631
11+
refs/heads/auto: fdba872944675a2c2aa146ab3caadbad14452e97
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

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