Implement Anonymous{Struct, Union} in the AST
Add unnamed_fields feature gate and gate unnamed fields on parsing
This commit is contained in:
parent
8cf990c9b5
commit
059b68dd67
13 changed files with 232 additions and 31 deletions
|
@ -725,6 +725,7 @@ 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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue