-
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
Make assert
a built-in procedural macro
#48813
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
Ping from triage @aturon! This PR needs your review. |
cc @rust-lang/libs, I'm not a good reviewer for this. |
📌 Commit cb5be1b has been approved by |
⌛ Testing commit cb5be1b with merge 327ced3d8cb74350ebc18dabf48263882e4a4fe1... |
💔 Test failed - status-travis |
Legit failure. |
Payload of `Literal` token must be escaped. Also print printable non-ASCII characters.
|
@bors: r+ |
📌 Commit 4a254c0 has been approved by |
Make `assert` a built-in procedural macro Makes `assert` macro a built-in one without touching its functionality. This is a prerequisite for RFC 2011 (#44838).
☀️ Test successful - status-appveyor, status-travis |
Before this PR you could invoke |
I overlooked that. Is it possible to export built-in macros via std? |
Makes
assert
macro a built-in one without touching its functionality. This is a prerequisite for RFC 2011 (#44838).