-
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
Use report_in_external_macro
for internal lints
#67854
Use report_in_external_macro
for internal lints
#67854
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
a790cb7
to
8785fd2
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@petrochenkov what's the proper way to ignore a lint for a macro? I'm not sure how attribute scoping works with macro expansion |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
e1f326b
to
9f807d7
Compare
I'm not using the report in external macro option for one of the lints where it explicitly goes against the purpose of the lint, as explained in this commit: 9f807d7 |
@petrochenkov sorry to spam you with pings, but I'm not sure how to change the label that says "waiting on author" since the tests have passed |
@bors r+ |
📌 Commit 9f807d72601920bad8bc2df9a4e18c518becb8cd has been approved by |
Actually, could you squash the commits into one? r=me after that. |
☔ The latest upstream changes (presumably #68142) made this pull request unmergeable. Please resolve the merge conflicts. |
9f807d7
to
522a39c
Compare
Add the option to report lints in external macros for rustc internal lints
522a39c
to
9d95eaa
Compare
@afnanenayet: 🔑 Insufficient privileges: Not in reviewers |
@bors r+ |
📌 Commit 9d95eaa has been approved by |
…acro-lints, r=petrochenkov Use `report_in_external_macro` for internal lints Add the option to report lints in external macros for rustc internal lints to resolve rust-lang#66370
Rollup of 10 pull requests Successful merges: - #67854 (Use `report_in_external_macro` for internal lints) - #67989 (rustdoc: Don't allow `#![feature(...)]` on stable or beta) - #68036 (libterm: parse extended terminfo format) - #68127 (Clarify the relationship between `extended` and `tools` in `config.toml`) - #68143 (Forbid elided lifetimes within const generic parameter types) - #68150 (Document behavior of set_nonblocking on UnixListener) - #68166 (rustdoc: HTML escape arrows on help popup) - #68176 (Clean up err codes) - #68179 (Remove unneeded scope) - #68188 (Tweak assertion note in format check) Failed merges: r? @ghost
Add the option to report lints in external macros for rustc internal lints to resolve #66370