mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 05:06:52 +00:00

The `Option<Module>` version is supported for the case where we don't know whether the `DefId` refers to a module or not. Non-local traits and enums are also correctly found now.