Skip to content

Keep track of all parents in the AST map #26688

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 4 commits into from
Jul 2, 2015
Merged

Conversation

nrc
Copy link
Member

@nrc nrc commented Jun 30, 2015

/// The odd layout is to bring down the total size.
#[derive(Copy, Debug)]
enum MapEntry<'ast> {
/// Placeholder for holes in the map.
NotPresent,

/// All the node types, with a parent ID.
/// All the node types, with a parent and scope ID.
Copy link
Member

Choose a reason for hiding this comment

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

This isn't true anymore AFAICT.

@Manishearth
Copy link
Member

LGTM modulo nits

@nrc
Copy link
Member Author

nrc commented Jul 1, 2015

@bors: r=manishearth

@bors
Copy link
Collaborator

bors commented Jul 1, 2015

📌 Commit 8261599 has been approved by manishearth

@bors
Copy link
Collaborator

bors commented Jul 2, 2015

⌛ Testing commit 8261599 with merge 1768b10...

bors added a commit that referenced this pull request Jul 2, 2015
@bors bors merged commit 8261599 into rust-lang:master Jul 2, 2015
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