Skip to content

add more pat2021 tests - #84185

Merged
bors merged 3 commits into
rust-lang:masterfrom
0xPoe:rustin-patch-macro
Apr 15, 2021
Merged

add more pat2021 tests#84185
bors merged 3 commits into
rust-lang:masterfrom
0xPoe:rustin-patch-macro

Conversation

@0xPoe

@0xPoe0xPoe commented Apr 14, 2021

Copy link
Copy Markdown
Member

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

@nikomatsakisnikomatsakis left a comment

Copy link
Copy Markdown
Contributor

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...)

@0xPoe0xPoe changed the title add macro-or-patterns-2021 testadd more pat2021 testsApr 14, 2021
@0xPoe

Copy link
Copy Markdown
MemberAuthor

@nikomatsakis How about now?

@0xPoe
0xPoe requested a review from nikomatsakisApril 14, 2021 14:20
@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Apr 14, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit eb944c1 has been approved by nikomatsakis

@borsbors 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
Copy Markdown
MemberAuthor

@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
closerust-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
closerust-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:masterApr 15, 2021
@rustbotrustbot added this to the 1.53.0 milestone Apr 15, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@0xPoe@nikomatsakis@bors@rust-highfive@rustbot