-
Notifications
You must be signed in to change notification settings - Fork 14k
Fix name() functions for local defs in rustc_public
#149401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The `name()` function specifies that it returns absolute path of items, however it wasn't including the crate name for local items. This change fixes that. This was reported here: rust-lang/project-stable-mir#109
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
It looks like I need to do some debugging. It's not clear to me why this change affected these tests. I.e., why:
It seems to only affect EDIT: |
This change fixes the behavior of the
name()function forCrateDefandInstancewhich should return absolute path of items. For local items, the crate name was missing.This resolves: rust-lang/project-stable-mir#109