-
Notifications
You must be signed in to change notification settings - Fork 13.5k
tests/ui
: A New Order [17/N]
#143195
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/ui
: A New Order [17/N]
#143195
Conversation
//! Test that basic multiline comments are parsed correctly. | ||
//! | ||
//! This checks that the lexer properly handles `/* */` style comments | ||
//! without causing parsing errors. |
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 second paragraph is kind of redundant with the first - /* */
are multiline comments, and "without causing parsing errors" isn't really any different "parsed correctly". So I think the second can be removed.
//! Test that multibyte Unicode characters don't crash the compiler. | ||
//! | ||
//! This checks that the parser correctly handles non-ASCII characters | ||
//! in string literals without causing an ICE. |
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 here, second comment kind of just restates the first
Two nits then please squash. Also, fwiw: if you're planning to request a review from me, no need to split the commits up in the first place other than the move. Maybe doing that made a bit more sense compared to having everything (including move) in a single commit? Since if the move isn't split off, the overall diff is a bit tough to follow (looks like files getting added and removed), but if the move is done in a separate commit then the diff for any following commits looks "normal". |
@rustbot ready |
Thank you! |
Rollup of 14 pull requests Successful merges: - #142429 (`tests/ui`: A New Order [13/N]) - #142514 (Miri: handling of SNaN inputs in `f*::pow` operations) - #143066 (Use let chains in the new solver) - #143090 (Workaround for memory unsafety in third party DLLs) - #143118 (`tests/ui`: A New Order [15/N]) - #143159 (Do not freshen `ReError`) - #143168 (`tests/ui`: A New Order [16/N]) - #143176 (fix typos and improve clarity in documentation) - #143187 (Add my work email to mailmap) - #143190 (Use the `new` method for `BasicBlockData` and `Statement`) - #143195 (`tests/ui`: A New Order [17/N]) - #143196 (Port #[link_section] to the new attribute parsing infrastructure) - #143199 (Re-disable `tests/run-make/short-ice` on Windows MSVC again) - #143219 (Show auto trait and blanket impls for `!`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143195 - Kivooeo:tf17, r=tgross35 `tests/ui`: A New Order [17/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of #133895. r? `@tgross35`
Note
Intermediate commits are intended to help review, but will be squashed prior to merge.
Some
tests/ui/
housekeeping, to trim down number of tests directly undertests/ui/
. Part of #133895.r? @tgross35