@@ -141,16 +141,16 @@ enum Namespace {
141
141
ValueNS
142
142
}
143
143
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.
147
147
enum NamespaceResult {
148
148
/// Means that resolve hasn't gathered enough information yet to determine
149
149
/// whether the name is bound in this namespace. (That is, it hasn't
150
150
/// resolved all `use` directives yet.)
151
151
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.
154
154
UnboundResult ,
155
155
/// Means that resolve has determined that the name is bound in the Module
156
156
/// argument, and specified by the NameBindings argument.
@@ -1205,7 +1205,8 @@ impl Resolver {
1205
1205
self . build_reduced_graph_for_variant ( * variant,
1206
1206
local_def ( item. id ) ,
1207
1207
// 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 ) ,
1209
1210
new_parent, visitor) ;
1210
1211
}
1211
1212
}
0 commit comments