One part of the reference manual says that empty braces are allowed for struct expressions: https://doc.rust-lang.org/reference.html#structs
Another part says that the braces must contain one or more initializers: https://doc.rust-lang.org/reference.html#struct-expressions
rustc tells me that empty braces are an unstable extension, so one way to resolve the discrepancy would be to mention this in the manual, preferably at both spots.
One part of the reference manual says that empty braces are allowed for struct expressions: https://doc.rust-lang.org/reference.html#structs
Another part says that the braces must contain one or more initializers: https://doc.rust-lang.org/reference.html#struct-expressions
rustctells me that empty braces are an unstable extension, so one way to resolve the discrepancy would be to mention this in the manual, preferably at both spots.