auto merge of #2373 : zwarich/servo/remove-default-visibility, r=Ms2ger

The defaultVisibility field was cloned from the C++ implementation,
where it tracks the difference between struct and class visibility.
Since no similar concept exists in Rust, it should be removed.
This commit is contained in:
bors-servo 2014-05-08 17:46:15 -04:00
commit 6d381959db

View file

@ -3250,7 +3250,6 @@ class CGClass(CGThing):
self.isStruct = isStruct
self.disallowCopyConstruction = disallowCopyConstruction
self.indent = indent
self.defaultVisibility ='pub' if isStruct else 'priv'
self.decorators = decorators
self.extradeclarations = extradeclarations
self.extradefinitions = extradefinitions