-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Suppress verbose MIR comments for trivial types #75566
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @lcnr (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
👍 r? @oli-obk You still have to run The same also goes for 32 bit mir tests, let me quickly find the command for that again 😅 |
For the remaining test I think you can use |
Thanks for the command to run the tests, I figured I'd run into trouble with those but didn't know how to run them. 😄 I've rebased the modified test files into the same commit, let me know if they should be split. I'll reupdate the test files if necessary after review. |
I think keeping them split would be useful, as the test changes are quite large 🤔 Didn't look too much at the tests yet, but that's already looking a lot better IMO |
@lzutao Addressed your feedback + rebased |
@bors r+ p=6 bitrotty Thanks! so much better |
📌 Commit 64db07dba347eb91facb232dee5794e95d8e1e77 has been approved by |
⌛ Testing commit 64db07dba347eb91facb232dee5794e95d8e1e77 with merge bdbd20ab6913e3b3ba18b820fda7511ae16f1bdb... |
💔 Test failed - checks-actions |
Oh no... Line 220 in e8df0b8
|
@oli-obk Alright, I think we're good now! |
☔ The latest upstream changes (presumably #74748) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r+ p=6 |
📌 Commit 28ac141 has been approved by |
☀️ Test successful - checks-actions, checks-azure |
…-obk Suppress MIR comments for FnDef in ty::Const An expansion of rust-lang#75566. The comments in MIR constant already contains `ty::Contains` comments.
Suppress MIR comments of FnDef and unit types An expansion of rust-lang#75566. Comments of FnDef MIR constant already contain `ty::Contains` comments.
Addresses #74508
This is my first contribution to the Rust project! Please let me know if anything needs revising, I'm happy to make changes.