-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
src/test/compile-fail should have more files in subdirectories #46841
Comments
Addresses issue rust-lang#46841. Created the following subdirectories: associated-item closures coherence const diagnostics issues lint macro regions traits typing variance Additionally rename some tests: renamed: unboxed-closer-non-implicit-copyable.rs -> closures/unboxed-closure-non-implicit-copyable.rs renamed: issue32829.rs -> issues/issue-32829-1.rs renamed: isssue-38821.rs -> issues/issue-38821.rs
…#46841 This patch moves the E0nnn files from src/test/compile-fail to a new subdirectory named diagnostics/. This is a part of issue rust-lang#46841
Update: It was decided that a proper set of guidelines were needed for directories (and test names) first, before moving anything around. |
Should this issue be closed ? Is there any work to be done ? |
@TheSirC: as far as I'm aware, #46841 (comment) is still relevant; it's just that no-one's got around to it yet. |
I think that is still the case. I certainly haven't got around to it (or anything). I think it would be good for someone with a bit more experience than me to suggest some guidelines and then we can work from there... |
Thank you guys for your answer! I will wait for guidelines so. |
Move `compile-fail` tests to `ui` Fixes #46841, #52531, #44844. r? @nikomatsakis
Move `compile-fail` tests to `ui` Fixes #46841, #52531, #44844. r? @nikomatsakis
Move `compile-fail` tests to `ui` Fixes #46841, #52531, #44844. r? @nikomatsakis
Github refuses to list more than 1,000 files in a given directory listing.
As of this writing, its web interface reports that 1,260 entries are omitted from the printout for https://github.com/rust-lang/rust/tree/master/src/test/compile-fail
This has a simple fix: More subdirectories.
In particular, many of the tests even have a prefix that strongly implies a potential subdirectory to move that subset into; e.g. the associated-{const,item,type} tests could all go into
associated-item/
. LIkewise, theE0nnn
test could all go intodiagnostics/
...(This is a super easy change to make to the test suite, though I know that some people want to separately migrate more/all of the tests into the
ui/
subdirectory. I no longer object to the latter migration, but we'll still need to resolve this problem even when we do that migration.)The text was updated successfully, but these errors were encountered: