Revert "Implement Anonymous{Struct, Union} in the AST"
This reverts commit059b68dd67
. Note that this was manually adjusted to retain some of the refactoring introduced by commit059b68dd67
, so that it could likewise retain the correction introduced in commit5b4bc05fa5
This commit is contained in:
parent
b6aa7e3105
commit
91feb76d13
13 changed files with 14 additions and 209 deletions
|
@ -1902,10 +1902,6 @@ pub enum TyKind {
|
|||
Never,
|
||||
/// A tuple (`(A, B, C, D,...)`).
|
||||
Tup(Vec<P<Ty>>),
|
||||
/// An anonymous struct type i.e. `struct { foo: Type }`
|
||||
AnonymousStruct(Vec<FieldDef>, bool),
|
||||
/// An anonymous union type i.e. `union { bar: Type }`
|
||||
AnonymousUnion(Vec<FieldDef>, bool),
|
||||
/// A path (`module::module::...::Type`), optionally
|
||||
/// "qualified", e.g., `<Vec<T> as SomeTrait>::SomeType`.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue