Skip to content

Commit 76baaaf

Browse files
authored
generator: Replace super::super::* with narrower imports. (#989)
A `mod` importing itself hits a slow path in rustc at `compute_effective_visibilities` since cyclic imports are handled specially. This improvement also happens to greatly reduce the size of `.rmeta` files.
1 parent 7dbd586 commit 76baaaf

File tree

2 files changed

+315
-390
lines changed

2 files changed

+315
-390
lines changed

0 commit comments

Comments
 (0)