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 #[static_assert] #24910

Merged
merged 1 commit into from
Jun 3, 2015
Merged

Conversation

steveklabnik
Copy link
Member

This was always a weird feature, and isn't being used in the compiler.
Static assertions should be done better than this.

Fixes #13951
Fixes #23008
Fixes #6676

This is behind a feature gate, but that's still a

[breaking-change]

(It's not entirely clear to me that this should or shouldn't have an RFC, but if it does, I'm fine blocking on such a thing.)

@rust-highfive
Copy link
Collaborator

r? @pcwalton

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

@strega-nil
Copy link
Contributor

👍

@steveklabnik
Copy link
Member Author

Brought this up in the meeting, RFC incoming

@steveklabnik
Copy link
Member Author

Filed: rust-lang/rfcs#1096

@bors
Copy link
Contributor

bors commented May 7, 2015

☔ The latest upstream changes (presumably #25175) made this pull request unmergeable. Please resolve the merge conflicts.

This was always a weird feature, and isn't being used in the compiler.
Static assertions should be done better than this.

This implements RFC rust-lang#1096.

Fixes rust-lang#13951
Fixes rust-lang#23008
Fixes rust-lang#6676

This is behind a feature gate, but that's still a

[breaking-change]
@steveklabnik steveklabnik force-pushed the remove_static_assert branch from c446e30 to 5235065 Compare June 3, 2015 13:38
@steveklabnik
Copy link
Member Author

@nikomatsakis I have rebased this PR.

@alexcrichton
Copy link
Member

@bors: r+ 5235065

bors added a commit that referenced this pull request Jun 3, 2015
This was always a weird feature, and isn't being used in the compiler.
Static assertions should be done better than this.

Fixes #13951
Fixes #23008
Fixes #6676

This is behind a feature gate, but that's still a

[breaking-change]

(It's not entirely clear to me that this should or shouldn't have an RFC, but if it does, I'm fine blocking on such a thing.)
@bors
Copy link
Contributor

bors commented Jun 3, 2015

⌛ Testing commit 5235065 with merge b70f49b...

@bors bors merged commit 5235065 into rust-lang:master Jun 3, 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
6 participants