Skip to content

Include type name in symbol for methods #30328

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

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Dec 11, 2015

Fix #30260.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 8740575

@bors
Copy link
Collaborator

bors commented Dec 13, 2015

⌛ Testing commit 8740575 with merge 9144a9c...

@bors
Copy link
Collaborator

bors commented Dec 13, 2015

💔 Test failed - auto-mac-64-opt

@sanxiyn
Copy link
Member Author

sanxiyn commented Dec 14, 2015

@bors retry

@bors
Copy link
Collaborator

bors commented Dec 14, 2015

⌛ Testing commit 8740575 with merge 26eb62f...

@bors
Copy link
Collaborator

bors commented Dec 14, 2015

💔 Test failed - auto-mac-64-nopt-t

@sanxiyn
Copy link
Member Author

sanxiyn commented Dec 14, 2015

@bors retry

@bors
Copy link
Collaborator

bors commented Dec 14, 2015

⌛ Testing commit 8740575 with merge 44d9601...

bors added a commit that referenced this pull request Dec 14, 2015
@bors bors merged commit 8740575 into rust-lang:master Dec 15, 2015
@bluss
Copy link
Member

bluss commented Dec 15, 2015

Nice! 🎈

Impl => {
InternedString::new("<impl>")
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping this could be combined with the actual type info to produce the full name.
Right now, the ast::Item name for impls is a hacky composition of the pretty-printed AST type and trait and I wish we could get rid of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants