1
Fork 0

Revert "Implement Anonymous{Struct, Union} in the AST"

This reverts commit 059b68dd67.

Note that this was manually adjusted to retain some of the refactoring
introduced by commit 059b68dd67, so that it could
likewise retain the correction introduced in commit
5b4bc05fa5
This commit is contained in:
Felix S. Klock II 2021-09-08 14:03:40 -04:00
parent b6aa7e3105
commit 91feb76d13
13 changed files with 14 additions and 209 deletions

View file

@ -668,7 +668,6 @@ pub fn check_crate(krate: &ast::Crate, sess: &Session) {
// involved, so we only emit errors where there are no other parsing errors.
gate_all!(destructuring_assignment, "destructuring assignments are unstable");
}
gate_all!(unnamed_fields, "unnamed fields are not yet fully implemented");
// All uses of `gate_all!` below this point were added in #65742,
// and subsequently disabled (with the non-early gating readded).