Bug 898622 - Fix StructType errors and handling. r=nmatsakis

--HG--
extra : amend_source : db42834ef0ab8cd218b52f4c631b94c5ca45fe09