-
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
Replace some guess_head_span
with def_span
#98519
Replace some guess_head_span
with def_span
#98519
Conversation
51d1fef
to
28bdcf4
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
head_span
field to Item
, ImplItem
and TraitItem
head_span
field to Item
, ImplItem
and TraitItem
head_span
field to Item
, ImplItem
and TraitItem
head_span
field to Item
, ImplItem
and TraitItem
319e296
to
0d70331
Compare
0d70331
to
1a4ebb7
Compare
head_span
field to Item
, ImplItem
and TraitItem
guess_head_span
with def_span
1a4ebb7
to
7973d5b
Compare
guess_head_span
with def_span
guess_head_span
with def_span
guess_head_span
with def_span
guess_head_span
with def_span
This comment has been minimized.
This comment has been minimized.
7973d5b
to
2c4bdc2
Compare
@rustbot ready |
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.
Thanks @TaKO8Ki. This looks good.
A few nits then r=me.
@@ -79,8 +79,10 @@ LL | pub enum PubBaz { | |||
error: missing documentation for a variant | |||
--> $DIR/lint-missing-doc.rs:119:5 | |||
| | |||
LL | PubBazA { | |||
| ^^^^^^^ | |||
LL | / PubBazA { |
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.
This is a regression. It can easily be cured by modifying tcx.hir().opt_span
. If you want to do it, this can wait a follow-up PR.
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.
I fixed it.
2c4bdc2
to
b9d4b13
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@cjgillot I fixed clippy tests. Could you review again? |
@rustbot ready |
@bors r=cjgillot |
📌 Commit bd3bb338b6bcad885d50e14ef02412c24c32bc4a has been approved by |
☔ The latest upstream changes (presumably #98206) made this pull request unmergeable. Please resolve the merge conflicts. |
6bab09c
to
b730bc9
Compare
@Dylan-DPC Could you approve again? |
@bors r+ |
📌 Commit b730bc9 has been approved by |
…laumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#96935 (Allow arithmetic and certain bitwise ops on AtomicPtr) - rust-lang#98519 (Replace some `guess_head_span` with `def_span`) - rust-lang#98911 (rustdoc: filter '_ lifetimes from ty::Generics) - rust-lang#98939 (rustdoc: Add more semantic information to impl IDs) - rust-lang#98971 (Fix typo in file descriptor docs) - rust-lang#98983 (docs: Add overview of `rustc_middle::mir::TerminatorKind`) - rust-lang#98984 (Remove erroneous doc comment) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…ee1-dead Remove `guess_head_span` follow-up to rust-lang#98519
This patch fixes a part of #97417.
r? @cjgillot