-
Notifications
You must be signed in to change notification settings - Fork 13.6k
add more pat2021 tests #84185
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add more pat2021 tests #84185
Conversation
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.
One thing I would like is a test macro-pat-pattern-followed-by-or-in-2021.rs
that uses // edition: 2021
and which has $x:pat |
and shows that we get an error (and probably one without the edition that does not...)
@nikomatsakis How about now? |
@bors r+ rollup |
📌 Commit eb944c1 has been approved by |
@nikomatsakis Thanks for your review. |
…omatsakis add more pat2021 tests close rust-lang#84138 r? `@nikomatsakis`
…omatsakis add more pat2021 tests close rust-lang#84138 r? ``@nikomatsakis``
Rollup of 7 pull requests Successful merges: - rust-lang#82492 (Move `std::sys_common::alloc` to new module `std::sys::common`) - rust-lang#84177 (Fix join_paths error display.) - rust-lang#84185 (add more pat2021 tests) - rust-lang#84191 (Update books) - rust-lang#84192 (Fix typos in rustc_codegen_ssa/src/back/write.rs.) - rust-lang#84196 (:arrow_up: rust-analyzer) - rust-lang#84201 (rustdoc: Note that forbidding anchors in links to primitives is a bug) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
close #84138
r? @nikomatsakis