-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustc_builtin_macros: make asm mod public for rustfmt #92147
rustc_builtin_macros: make asm mod public for rustfmt #92147
Conversation
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
Hmm, I think it would be better to re-export the function in the root rather than making the whole module public. |
Well, we need the struct too. There's only 4 currently public items in that mod, so I suppose I can either re-export the 2 we need and keep the mod private, or modify the visibility on the other 2 to keep them in-crate, if there's concerns about |
2133d12
to
63c2ede
Compare
I've opted for the latter, but don't mind changing it if you (or anyone) feels strongly that it'd be better to do the former. Let me know |
@bors r+ rollup |
📌 Commit 63c2ede has been approved by |
⌛ Testing commit 63c2ede with merge 6d68b965a62b8b3c30a546673b867578a040c0f5... |
💔 Test failed - checks-actions |
Not really sure what to make of the CI failure, seems potentially spurious so going to retry @bors retry |
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#90586 (Relax priv-in-pub lint on generic bounds and where clauses of trait impls.) - rust-lang#92112 (Fix the error of checking `base_expr` twice in type_changing_struct_update) - rust-lang#92147 (rustc_builtin_macros: make asm mod public for rustfmt) - rust-lang#92161 (resolve: Minor miscellaneous cleanups from rust-lang#89059) - rust-lang#92264 (Remove `maybe_uninit_extra` feature from Vec docs) - rust-lang#92303 (Add test cases for issue rust-lang#26186) - rust-lang#92307 (Fix minor typos) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Follow up to #92016, as I'd completely missed that the mod we needed was internal