Parse error when pattern matching a struct from different module #3847
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-linkage
Area: linking into static, shared libraries and binaries
Milestone
Adding a leading
::
tobuildings::Tower
will avoid parse errors, though this error has been seen for cross-crate struct uses as well. Is there a reason for this? At the least, the error message should make more sense.Test case
Output
The text was updated successfully, but these errors were encountered: