Skip to content
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

incr.comp.: Don't use Ident in DefPath because that's unstable across compilation sessions #42627

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

michaelwoerister
Copy link
Member

pub fn get_opt_name(&self) -> Option<ast::Name> {
self.get_opt_ident().map(|ident| ident.name)
}

pub fn as_interned_str(&self) -> InternedString {
Copy link
Member

Choose a reason for hiding this comment

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

It'd be nice not to have the duplication between this and get_opt_name.

Copy link
Member Author

Choose a reason for hiding this comment

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

Would be nice, but they are not quite the same...

@eddyb
Copy link
Member

eddyb commented Jun 13, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Jun 13, 2017

📌 Commit d714b97 has been approved by eddyb

@Mark-Simulacrum
Copy link
Member

This seems like we'd want perf stats for it as well.

@bors p=100

@bors
Copy link
Contributor

bors commented Jun 13, 2017

⌛ Testing commit d714b97 with merge 03abb1b...

bors added a commit that referenced this pull request Jun 13, 2017
incr.comp.: Don't use Ident in DefPath because that's unstable across compilation sessions

Fixes #42550.

cc @jseyfried @nikomatsakis

r? @eddyb
@bors
Copy link
Contributor

bors commented Jun 13, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 03abb1b to master...

@bors bors merged commit d714b97 into rust-lang:master Jun 13, 2017
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.

4 participants