Skip to content

Commit 9741a21

Browse files
committed
---
yaml --- r: 39163 b: refs/heads/incoming c: 0a3a2ee h: refs/heads/master i: 39161: 096fe3b 39159: 4504a27 v: v3
1 parent 4f52240 commit 9741a21

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: f459acc45d97bb139a9694cf1f8f4fea0e9844f9
9+
refs/heads/incoming: 0a3a2eebfc4ecac7d43af86679ffc36eff83988c
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/librustc/middle/resolve.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,16 @@ enum Namespace {
141141
ValueNS
142142
}
143143

144-
/// A NamespaceResult represents the result of resolving an import in a
145-
/// particular namespace. The result is either definitely-resolved, definitely-
146-
/// unresolved, or unknown.
144+
/// A NamespaceResult represents the result of resolving an import in
145+
/// a particular namespace. The result is either definitely-resolved,
146+
/// definitely- unresolved, or unknown.
147147
enum NamespaceResult {
148148
/// Means that resolve hasn't gathered enough information yet to determine
149149
/// whether the name is bound in this namespace. (That is, it hasn't
150150
/// resolved all `use` directives yet.)
151151
UnknownResult,
152-
/// Means that resolve has determined that the name is definitely not bound in
153-
/// the namespace.
152+
/// Means that resolve has determined that the name is definitely
153+
/// not bound in the namespace.
154154
UnboundResult,
155155
/// Means that resolve has determined that the name is bound in the Module
156156
/// argument, and specified by the NameBindings argument.
@@ -1205,7 +1205,8 @@ impl Resolver {
12051205
self.build_reduced_graph_for_variant(*variant,
12061206
local_def(item.id),
12071207
// inherited => privacy of the enum item
1208-
self.visibility_to_privacy(variant.node.vis, privacy == Public),
1208+
self.visibility_to_privacy(variant.node.vis,
1209+
privacy == Public),
12091210
new_parent, visitor);
12101211
}
12111212
}

0 commit comments

Comments
 (0)