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

Remove cat_discr #17978

Merged
merged 1 commit into from
Oct 27, 2014
Merged

Remove cat_discr #17978

merged 1 commit into from
Oct 27, 2014

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Oct 12, 2014

it seems to be some kind of leftover GC-related detritus

@rust-highfive
Copy link
Collaborator

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@alexcrichton
Copy link
Member

r? @nikomatsakis or @pnkfelix

@nikomatsakis
Copy link
Contributor

I think you are correct, we don't need this anymore. I would like @pnkfelix to confirm though that he didn't repurpose this in some way for the fragment computation stuff he is working on --- but iirc he only touched cat_downcast

@nikomatsakis
Copy link
Contributor

r+ pending clarification on why match cases were moved around. I just want to be sure that this wasn't prompted by some new error (which I wouldn't expect, but...)

@arielb1
Copy link
Contributor Author

arielb1 commented Oct 14, 2014

Just remove some junk. The match cases were moved around so that the compiler can prove they are exhaustive.

@alexcrichton
Copy link
Member

ping @arielb1, looks like a test failure

bors added a commit that referenced this pull request Oct 27, 2014
it seems to be some kind of leftover GC-related detritus
it seems to be some kind of GC-related mess
@bors bors closed this Oct 27, 2014
@bors bors merged commit 19faaf1 into rust-lang:master Oct 27, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Sep 25, 2024
…=Veykril

Do not report missing unsafe on `addr_of[_mut]!(EXTERN_OR_MUT_STATIC)`

The compiler no longer does as well; see rust-lang#125834.

Also require unsafe when accessing `extern` `static` (other than by `addr_of!()`).

Fixes rust-lang#17978.
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.

5 participants