-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
static_assert silently passes all consts #23008
Labels
A-codegen
Area: Code generation
Comments
A-codegen because this checking happens in trans. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 28, 2015
This was always a weird feature, and isn't being used in the compiler. Static assertions should be done better than this. 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
added a commit
to steveklabnik/rust
that referenced
this issue
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. 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]
bors
added a commit
that referenced
this issue
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.)
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
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]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No unused attribute warning, either.
The text was updated successfully, but these errors were encountered: