-
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
Migrate (some) of run-pass/ to ui #53860
Migrate (some) of run-pass/ to ui #53860
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ cc @rust-lang/compiler — seems like a notable change. |
The directory collapsing part looks questionable to me. |
@bors r- |
I'm confused, perhaps. I thought that this PR preserved the existing run-pass directory structure, but made it a subpart of |
Ah, I see, I missed the various "collapse" commits. |
Hmm I thought my collapsing cases here still didn't destroy anything distinctions that were previously there. That is, the directories being collapsed were ones that I created in earlier commits in the PR, and the source material ... always came solely from Having said that, I'm happy to drop some/all/any of the collapsing commits.
|
1d01152
to
74a5aef
Compare
@bors r=nikomatsakis |
@bors ping |
@bors are you still there? |
@bors r=nikomatsakis |
📌 Commit 74a5aef has been approved by |
…=nikomatsakis Migrate (some) of run-pass/ to ui This is a step towards addressing #53764. Much still remains. I went through a large portion of the `*.rs` files that were directly stored into `src/test/run-pass/` and moved them into various subdirectories of a newly created `src/test/ui/run-pass/`. (yes, it would have perhaps been nice to meld it more directly with directories already in `src/test/ui/`; but the sad truth is that opens up the reality of filename collisions, and one of my short term goals for resolving #53764 is to keep the *filenames* invariant, even as their parents directories and contents are mildly revised...)
💔 Test failed - status-appveyor |
Several these new UI tests generate integer overflow warnings on 32-bit platform e.g.
List of failures:
|
(I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
…o silence stderr output.
…est seems bogus. that is, I suspect it should be retired because it is testing behavior (namely a `#[repr(C)] struct Empty;`) that, if I understand correctly, is undefined. See also rust-lang#53859.
…s to test such cases.
…pdated at some point. Discussion can be found on rust-lang#41620.
…d to `#[may_dangle]`. See rust-lang#34761.
That is, opting to ignore stable `#![feature(..)]`, under my theory that a reviewer would prefer as much stuff to be bucketed under "ah another `#![allow(..)]` here." as possible.
433032b
to
5fe0851
Compare
@bors r=nikomatsakis |
📌 Commit 5fe0851 has been approved by |
…ss-to-ui, r=nikomatsakis Migrate (some) of run-pass/ to ui This is a step towards addressing rust-lang#53764. Much still remains. I went through a large portion of the `*.rs` files that were directly stored into `src/test/run-pass/` and moved them into various subdirectories of a newly created `src/test/ui/run-pass/`. (yes, it would have perhaps been nice to meld it more directly with directories already in `src/test/ui/`; but the sad truth is that opens up the reality of filename collisions, and one of my short term goals for resolving rust-lang#53764 is to keep the *filenames* invariant, even as their parents directories and contents are mildly revised...)
Rollup of 17 pull requests Successful merges: - #53299 (Updated core/macros.rs to note it works in a no_std environment.) - #53376 (Cross reference io::copy and fs::copy in docs.) - #53455 (Individual docs for {from,to}_*_bytes) - #53550 (librustc_lint: In recursion warning, change 'recurring' to 'recursing') - #53860 (Migrate (some) of run-pass/ to ui) - #53874 (Implement Unpin for Box, Rc, and Arc) - #53895 (tidy: Cleanups and clippy warning fixes) - #53946 (Clarify `ManuallyDrop` docs) - #53948 (Minimized clippy test from when NLL disabled two-phase borrows) - #53959 (Add .git extension to submodule paths missing it) - #53966 (A few cleanups and minor improvements to mir/dataflow) - #53967 (propagate build.python into cmake) - #53979 (Remove `#[repr(transparent)]` from atomics) - #53991 (Add unchecked_shl/shr check for intrinsics to fix miri's test suit) - #53992 (migrate run-pass/borrowck to ui/run-pass) - #53994 (migrate run-pass/*/ to ui/run-pass) - #54023 (update clippy submodule)
This is a step towards addressing #53764. Much still remains.
I went through a large portion of the
*.rs
files that were directly stored intosrc/test/run-pass/
and moved them into various subdirectories of a newly createdsrc/test/ui/run-pass/
.(yes, it would have perhaps been nice to meld it more directly with directories already in
src/test/ui/
; but the sad truth is that opens up the reality of filename collisions, and one of my short term goals for resolving #53764 is to keep the filenames invariant, even as their parents directories and contents are mildly revised...)