-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Prevent comparison and dereferencing of raw pointers in constexprs #25840
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
r? @nrc Prohibiting equality (which is needed for #25768) hurts inference too much - it can wait for rust-lang/rfcs#1135. |
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | ||
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment saying what is being tested
r=me with the comment added |
9fe22e6
to
7d69a71
Compare
@bors r+ |
📌 Commit 7d69a71 has been approved by |
7d69a71
to
080311d
Compare
@bors r+ |
📌 Commit 080311d has been approved by |
Fixes #25826.