-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Change only_local to a enum type. #122695
Change only_local to a enum type. #122695
Conversation
rustbot has assigned @petrochenkov. Use r? to explicitly pick a reviewer |
you need to rebase to the newest master branch |
5673e6a
to
950ea97
Compare
Done. Thank you. |
Can we invert it and call it |
Agreed, |
950ea97
to
c941fa4
Compare
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.
r=me after nits, thanks!
This comment has been minimized.
This comment has been minimized.
c941fa4
to
a0d7715
Compare
…e a variant of that enum.
a0d7715
to
db48dfc
Compare
thanks @bors r+ rollup |
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#122435 (Don't trigger `unused_qualifications` on global paths) - rust-lang#122556 (Extend format arg help for simple tuple index access expression) - rust-lang#122634 (compiletest: Add support for `//@ aux-bin: foo.rs`) - rust-lang#122677 (Fix incorrect mutable suggestion information for binding in ref pattern.) - rust-lang#122691 (Fix ICE: `global_asm!()` Don't Panic When Unable to Evaluate Constant) - rust-lang#122695 (Change only_local to a enum type.) - rust-lang#122717 (Ensure stack before parsing dot-or-call) - rust-lang#122719 (Ensure nested statics have a HIR node to prevent various queries from ICEing) - rust-lang#122720 ([doc]:fix error code example) - rust-lang#122724 (add test for casting pointer to union with unsized tail) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122695 - surechen:make_only_local_explict_argument, r=lcnr Change only_local to a enum type. Change only_local to enum type and change the macros to always require a variant of that enum. r? `@lcnr`
Change only_local to enum type and change the macros to always require a variant of that enum.
r? @lcnr