-
Couldn't load subscription status.
- Fork 13.9k
compiletest: trim edition before passing as flag #99161
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
compiletest: trim edition before passing as flag #99161
Conversation
|
r? @jyn514 (rust-highfive has picked a reviewer for you, use r? to override) |
e409eca to
b35b377
Compare
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.
This seems fine - can you change one of the async-await ui tests to use this new format so we can make sure it works?
This makes `edition: 2021` work instead of the ugly `edition:2021` one has to write.
b35b377 to
29c128a
Compare
|
@bors r+ rollup |
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#97210 (Support `-A`, `-W`, `-D` and `-F` when running `./x.py clippy`) - rust-lang#99055 (Fix rustdoc help options) - rust-lang#99075 (Fix duplicated type annotation suggestion) - rust-lang#99124 (Fix sized check ICE in asm check) - rust-lang#99142 (fix(doctest): treat fatal parse errors as incomplete attributes) - rust-lang#99145 (Don't rerun the build script for the compiler each time on non-windows platforms) - rust-lang#99146 (Do not error during method probe on `Sized` predicates for types that aren't the method receiver) - rust-lang#99161 (compiletest: trim edition before passing as flag) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This makes
edition: 2021work instead of the uglyedition:2021one has to write.