Skip to content

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

Merged
merged 3 commits into from
Apr 15, 2021
Merged

add more pat2021 tests #84185

merged 3 commits into from
Apr 15, 2021

Conversation

0xPoe
Copy link
Member

@0xPoe 0xPoe commented Apr 14, 2021

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 14, 2021
Copy link
Contributor

@nikomatsakis nikomatsakis left a 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...)

@0xPoe 0xPoe changed the title add macro-or-patterns-2021 test add more pat2021 tests Apr 14, 2021
@0xPoe
Copy link
Member Author

0xPoe commented Apr 14, 2021

@nikomatsakis How about now?

@0xPoe 0xPoe requested a review from nikomatsakis April 14, 2021 14:20
@nikomatsakis
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 14, 2021

📌 Commit eb944c1 has been approved by nikomatsakis

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 14, 2021
@0xPoe
Copy link
Member Author

0xPoe commented Apr 14, 2021

@nikomatsakis Thanks for your review.

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 14, 2021
…omatsakis

add more pat2021 tests

close rust-lang#84138

r? `@nikomatsakis`
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 14, 2021
…omatsakis

add more pat2021 tests

close rust-lang#84138

r? ``@nikomatsakis``
This was referenced Apr 14, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 14, 2021
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
@bors bors merged commit 13effcb into rust-lang:master Apr 15, 2021
@rustbot rustbot added this to the 1.53.0 milestone Apr 15, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

disallow | from the follow-set of pat2021
5 participants