Skip to content

Commit e945d6f

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167731 b: refs/heads/master c: 1e4bbef h: refs/heads/master i: 167729: d187aa3 167727: 9d956e0 v: v3
1 parent 1816699 commit e945d6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: a49cdb8c365881e32e5b31f7d438328d2e2344c4
2+
refs/heads/master: 1e4bbefae126be24cb443252039ef0fd5ccba62c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/src/librustc_resolve/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
14481448
let mut import_resolutions = module_.import_resolutions.borrow_mut();
14491449
let import_resolution = &mut (*import_resolutions)[target];
14501450
{
1451-
let check_and_write_import = |namespace, result: &_, used_public: &mut bool| {
1451+
let mut check_and_write_import = |&mut: namespace, result: &_, used_public: &mut bool| {
14521452
let namespace_name = match namespace {
14531453
TypeNS => "type",
14541454
ValueNS => "value",
@@ -1691,7 +1691,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
16911691

16921692
// Merge the child item into the import resolution.
16931693
{
1694-
let merge_child_item = |namespace| {
1694+
let mut merge_child_item = |&mut : namespace| {
16951695
if name_bindings.defined_in_namespace_with(namespace, IMPORTABLE | PUBLIC) {
16961696
let namespace_name = match namespace {
16971697
TypeNS => "type",

0 commit comments

Comments
 (0)