Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not visit subitems for unit structs
Unit structs don't have any sub items to visit and therefore do not require their own scope. gcc/rust/ChangeLog: * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Prevent new scope creation for unit structs. * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Likewise. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
- Loading branch information