-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Correct span for pub_restricted field #35491
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@@ -18,6 +20,11 @@ struct Foo { | |||
//~^ error: field `bar` is already declared [E0124] | |||
bar: u8, | |||
|
|||
pub |
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.
May I suggest you use a ui
test? That way you can actually directly record the highlight that is expected, giving more precision.
a6b40be
to
f76a737
Compare
Changed test to ui test. |
@bors r+ |
📌 Commit f76a737 has been approved by |
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
@bors rollup |
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
Rollup of 30 pull requests - Successful merges: #34941, #35392, #35444, #35447, #35491, #35533, #35539, #35558, #35573, #35574, #35577, #35586, #35588, #35594, #35596, #35597, #35598, #35606, #35611, #35615, #35616, #35620, #35622, #35640, #35643, #35644, #35646, #35647, #35648, #35661 - Failed merges: #35395, #35415
Fix #35435.