mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 20:27:48 +00:00

`with_scope` is only ever used for ast modules Thus I renamed it to match other similar functions (`with_mod_rib`) and made it panic if used on non-modules