-
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
Tests: Remove redundant ignore-tidy-linelength
annotations
#83807
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
I'm having some trouble with the codegen and codegen-units tests:
I have removed now-redundant (CC @RalfJung) |
This comment has been minimized.
This comment has been minimized.
I'm sorry I have no idea, I don't usually touch those tests. Maybe just leave that for a future PR, then we can try to ping some people that hopefully know more. |
This looks pretty clear though:
There are line numbers in this, and indeed |
This is step 2 towards fixing rust-lang#77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
c242a87
to
3ea62cb
Compare
@@ -1,26 +0,0 @@ | |||
error: symbol-name(_ZN5impl13foo3Foo3bar17he53b9bee7600ed8dE) |
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'm not sure why this file was removed – I suspect that --bless
did it.
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.
The corresponding legacy.stderr
and v0.stderr
files were updated though. Maybe some kind of "vanilla" test mode was skipped?!
@@ -1,20 +0,0 @@ | |||
error: symbol-name(_ZN11issue_609253foo36Foo$LT$issue_60925..llv$6d$..Foo$GT$3foo17h059a991a004536adE) |
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.
Same with this file.
Both file deletions do seem strange, but ultimately I'm not sure why the original files were there, so seems OK to drop them -- they don't appear to be testing anything that I can see. We'll see if full CI complains, of course. @bors r+ rollup=iffy |
📌 Commit 3ea62cb has been approved by |
…ions, r=Mark-Simulacrum Tests: Remove redundant `ignore-tidy-linelength` annotations This is step 2 towards fixing rust-lang#77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
Rollup of 7 pull requests Successful merges: - rust-lang#80525 (wasm64 support) - rust-lang#83019 (core: disable `ptr::swap_nonoverlapping_one`'s block optimization on SPIR-V.) - rust-lang#83717 (rustdoc: Separate filter-empty-string out into its own function) - rust-lang#83807 (Tests: Remove redundant `ignore-tidy-linelength` annotations) - rust-lang#83815 (ptr::addr_of documentation improvements) - rust-lang#83820 (Remove attribute `#[link_args]`) - rust-lang#83841 (Allow clobbering unsupported registers in asm!) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This is step 2 towards fixing #77548.
In the codegen and codegen-units test suites, the
//
comment markerswere kept in order not to affect any source locations. This is because
these tests cannot be automatically
--bless
ed.