Skip to content

Conversation

nikomatsakis
Copy link
Contributor

Fix corner case in privacy that was causing ICEs when the source_did was not crate-local.

Full confession: I only kinda sorta understand this code, but afaict it's legit for source_did to be from another crate.

r? @alexcrichton

@nikomatsakis
Copy link
Contributor Author

cc #29161

@alexcrichton
Copy link
Member

@bors: r+ c70fd5825ed65a98dfd6d58675661a3abb371ebd

@brson brson added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 28, 2015
@brson
Copy link
Contributor

brson commented Oct 28, 2015

This didn't land before 1.5 branched.

@bors
Copy link
Collaborator

bors commented Oct 28, 2015

⌛ Testing commit c70fd58 with merge 48b9c5a...

@bors
Copy link
Collaborator

bors commented Oct 28, 2015

💔 Test failed - auto-mac-64-opt

`as_local_node_id`, instead just compare against `Some(id)`.
Fixes rust-lang#29161.
@nikomatsakis
Copy link
Contributor Author

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 28, 2015

📌 Commit 19996d4 has been approved by nikomatsakis

bors added a commit that referenced this pull request Oct 28, 2015
Fix corner case in privacy that was causing ICEs when the `source_did` was not crate-local.

Full confession: I only kinda sorta understand this code, but afaict it's legit for `source_did` to be from another crate.

r? @alexcrichton
@bors
Copy link
Collaborator

bors commented Oct 28, 2015

⌛ Testing commit 19996d4 with merge e6ad039...

@bors bors merged commit 19996d4 into rust-lang:master Oct 28, 2015
@alexcrichton alexcrichton added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Oct 29, 2015
@alexcrichton alexcrichton mentioned this pull request Oct 29, 2015
@brson brson removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 29, 2015
@nikomatsakis nikomatsakis deleted the issue-29161 branch March 30, 2016 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants