diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-29 14:43:33 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-29 14:43:33 -0800 |
| commit | 0a3a2eebfc4ecac7d43af86679ffc36eff83988c (patch) | |
| tree | 4b51d8364ac91fd2e0df09e7e9e20d3abf848b17 | |
| parent | f459acc45d97bb139a9694cf1f8f4fea0e9844f9 (diff) | |
| download | rust-0a3a2eebfc4ecac7d43af86679ffc36eff83988c.tar.gz rust-0a3a2eebfc4ecac7d43af86679ffc36eff83988c.zip | |
Long lines
| -rw-r--r-- | src/librustc/middle/resolve.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/librustc/middle/resolve.rs b/src/librustc/middle/resolve.rs index d54e07f808c..c9ebf55b57c 100644 --- a/src/librustc/middle/resolve.rs +++ b/src/librustc/middle/resolve.rs @@ -141,16 +141,16 @@ enum Namespace { ValueNS } -/// A NamespaceResult represents the result of resolving an import in a -/// particular namespace. The result is either definitely-resolved, definitely- -/// unresolved, or unknown. +/// A NamespaceResult represents the result of resolving an import in +/// a particular namespace. The result is either definitely-resolved, +/// definitely- unresolved, or unknown. enum NamespaceResult { /// Means that resolve hasn't gathered enough information yet to determine /// whether the name is bound in this namespace. (That is, it hasn't /// resolved all `use` directives yet.) UnknownResult, - /// Means that resolve has determined that the name is definitely not bound in - /// the namespace. + /// Means that resolve has determined that the name is definitely + /// not bound in the namespace. UnboundResult, /// Means that resolve has determined that the name is bound in the Module /// argument, and specified by the NameBindings argument. @@ -1205,7 +1205,8 @@ impl Resolver { self.build_reduced_graph_for_variant(*variant, local_def(item.id), // inherited => privacy of the enum item - self.visibility_to_privacy(variant.node.vis, privacy == Public), + self.visibility_to_privacy(variant.node.vis, + privacy == Public), new_parent, visitor); } } |
