Tidying up tests/ui/issues 33 tests [4/N]#149767
Conversation
|
This PR modifies |
There was a problem hiding this comment.
I'm not sure if there a directory for tests that test a CLI options passed to compiler like in this case
There was a problem hiding this comment.
There was an invalid-compile-flags directory, but no directory like run-pass compile flags
There was a problem hiding this comment.
let's do tests/ui/compile-flags and split it into ui/compile-flags/invalid/ and ui/compile-flags/run-pass/
There was a problem hiding this comment.
It seems like type check something
There was a problem hiding this comment.
moved to tests/ui/typeck/osstring-str-equality.rs
There was a problem hiding this comment.
Yep moved to tests/ui/resolve/module-used-as-struct-constructor.rs
There was a problem hiding this comment.
I feel like it more pattern directory, or even shadowing
There was a problem hiding this comment.
Yes, I moved it to the pattern directory. and the test below moved it to the shadowing directory
There was a problem hiding this comment.
the same as above but it looks like more shadowing
There was a problem hiding this comment.
Oh, I missed it sorry
|
Everything else is fine For the tests amount I would say that 15+- is very comfortable to review If you want to do more that's fine as well, just might take more time but I have nothing against it |
I saw the comment left on another PR. I will change # to link! regex is awesome.. |
|
I'll take a last look before merge tomorrow, sorry for delay |
Split invalid-compile-flags into run-pass & invalid Update tests/ui/README.md
|
@bors r+ rollup |
…uwer Rollup of 11 pull requests Successful merges: - #147939 (Make `const BorrowMut` require `const Borrow` and make `const Fn` require `const FnMut`) - #149734 (Mirror GCC 9.5.0) - #149767 (Tidying up tests/ui/issues 33 tests [4/N]) - #149804 (chore: fix some minor issues in the comments) - #149967 (custom `VaList` layout for Hexagon) - #150025 (dont create unnecessary `DefId`s under mgca) - #150032 (Use annotate-snippet as default emitter on stable) - #150033 (Add try_as_dyn and try_as_dyn_mut) - #150042 (rustc-dev-guide subtree update) - #150063 (Remove deny of manual-let-else) - #150064 (std: io: error: Add comment for UEFI unpacked repr use) Failed merges: - #150044 (Avoid unhelpful suggestion when crate name is invalid) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #149767 - reddevilmidzy:t11, r=Kivooeo Tidying up tests/ui/issues 33 tests [4/N] > [!NOTE] > Intermediate commits are intended to help review, but will be squashed add comment commit prior to merge. part of #133895 `tests/ui/compile-flags` split it into `tests/ui/compile-flags/invalid/` and `tests/ui/compile-flags/run-pass/` r? Kivooeo
…uwer Rollup of 11 pull requests Successful merges: - rust-lang/rust#147939 (Make `const BorrowMut` require `const Borrow` and make `const Fn` require `const FnMut`) - rust-lang/rust#149734 (Mirror GCC 9.5.0) - rust-lang/rust#149767 (Tidying up tests/ui/issues 33 tests [4/N]) - rust-lang/rust#149804 (chore: fix some minor issues in the comments) - rust-lang/rust#149967 (custom `VaList` layout for Hexagon) - rust-lang/rust#150025 (dont create unnecessary `DefId`s under mgca) - rust-lang/rust#150032 (Use annotate-snippet as default emitter on stable) - rust-lang/rust#150033 (Add try_as_dyn and try_as_dyn_mut) - rust-lang/rust#150042 (rustc-dev-guide subtree update) - rust-lang/rust#150063 (Remove deny of manual-let-else) - rust-lang/rust#150064 (std: io: error: Add comment for UEFI unpacked repr use) Failed merges: - rust-lang/rust#150044 (Avoid unhelpful suggestion when crate name is invalid) r? `@ghost` `@rustbot` modify labels: rollup
Note
Intermediate commits are intended to help review, but will be squashed add comment commit prior to merge.
part of #133895
tests/ui/compile-flagssplit it intotests/ui/compile-flags/invalid/andtests/ui/compile-flags/run-pass/r? Kivooeo