-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Drop compiletest legacy directive check #131392
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
// specify them manually in every test file. (Some of the comments below have been copied over | ||
// from the old `tests/run-make/coverage-reports/Makefile`, which no longer exists.) | ||
// | ||
// FIXME(jieyouxu): I feel like there's a better way to do this, leaving for later. |
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 think this is currently the least-awful way to achieve the desired effect, because there's no good way to hook into the ignore system. But with some appropriate refactoring there should definitely be a better approach.
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.
Yeah, just left a note for myself.
The test failure is genuine in that the test uses |
Sufficient time has passed (> 6 months) since we migrated from `//` to `//@`, so let's drop the legacy directive check as it causes friction due to false positives.
6fd3640
to
b81a3c8
Compare
Dropped the test changes and removal of early-return as they should be in follow-up PRs. This PR is intended to only remove the legacy directive check. |
LGTM. r=me after CI pass |
…iaskrgr Rollup of 3 pull requests Successful merges: - rust-lang#131348 (More `rustc_infer` cleanups) - rust-lang#131392 (Drop compiletest legacy directive check) - rust-lang#131395 (Add a mailmap entry for bjorn3) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#131392 - jieyouxu:remove-legacy-directive-check, r=Urgau Drop compiletest legacy directive check Sufficient time has passed (> 6 months) since we migrated from `//` to `//`@`,` so let's drop the legacy directive check as it causes friction due to false positives. As a side-effect, dropping the legacy directive check simplifies the directive scanning logic. The legacy directive check was originally added to help people be aware of the migration. Blocker for rust-lang#131382 cc `@ehuss.` Can be reviewed by any compiler/bootstrap reviewer.
compiletest: Remove the one thing that was checking a directive's `original_line` This special handling of `ignore-tidy*` was introduced during the migration to `//`@`` directives (rust-lang#120881), and has become unnecessary after the subsequent removal of the legacy directive check (rust-lang#131392).
compiletest: Remove the one thing that was checking a directive's `original_line` This special handling of `ignore-tidy*` was introduced during the migration to `//`@`` directives (rust-lang#120881), and has become unnecessary after the subsequent removal of the legacy directive check (rust-lang#131392).
Rollup merge of rust-lang#131585 - Zalathar:original-line, r=jieyouxu compiletest: Remove the one thing that was checking a directive's `original_line` This special handling of `ignore-tidy*` was introduced during the migration to `//`@`` directives (rust-lang#120881), and has become unnecessary after the subsequent removal of the legacy directive check (rust-lang#131392).
Sufficient time has passed (> 6 months) since we migrated from
//
to//@
, so let's drop thelegacy directive check as it causes friction due to false positives.
As a side-effect, dropping the legacy directive check simplifies the directive scanning logic.
The legacy directive check was originally added to help people be aware of the migration.
Blocker for #131382 cc @ehuss.
Can be reviewed by any compiler/bootstrap reviewer.