mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
4c8c967225
Fix `name()` functions for local defs in rustc_public This change fixes the behavior of the `name()` function for `CrateDef` and `Instance` which should return absolute path of items. For local items, the crate name was missing. This resolves: https://github.com/rust-lang/project-stable-mir/issues/109