-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
More Miri error tweaks #63245
More Miri error tweaks #63245
Conversation
How will you use the experimental UB errors? Display an additional message about the experimental state? If so, don't you need to do that here? |
My plan is to first complete the categorization of errors (solving rust-lang/const-eval#4), and then look into how to best display this to the user (rust-lang/miri#417). My thinking is the latter will probably happen on the Miri side; CTFE and Miri have different needs for error display. |
@bors r+ |
📌 Commit b9d4c75 has been approved by |
More Miri error tweaks * Add `err_` version of the `_format!` macros * Add `UbExperimental` variant so that Miri can mark some UB as experimental (e.g. Stacked Borrows) r? @oli-obk
☀️ Test successful - checks-azure |
err_
version of the_format!
macrosUbExperimental
variant so that Miri can mark some UB as experimental (e.g. Stacked Borrows)r? @oli-obk