Uh oh!
There was an error while loading. Please reload this page.
Stabilize allow irrefutable if-let patterns - #55639
Conversation
rust-highfive
commented
Nov 3, 2018
r? @oli-obk (rust_highfive has picked a reviewer for you, use r? to override) |
Centril
left a comment
There was a problem hiding this comment.
This seems mostly good; But I'd also like tests ensuring that #[allow(...)] and #[deny(...)] to the right thing...
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Put an error check ~ error: irrefutable if-let pattern or so here so that the test is more robust.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Centril
commented
Nov 9, 2018
r? @estebank |
rust-highfive
commented
Nov 10, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
estebank
commented
Nov 10, 2018
Also, please keep the commit log clean of merges. Rebase on top of latest master instead. |
Mark-Simulacrum
commented
Nov 15, 2018
I should be able to do it. |
Nokel81
commented
Nov 17, 2018
@estebank I am trying to implement your recommendations (including the rebase which doesn't seem to have gone very well) but I am getting compiling panics locally with build |
rust-highfive
commented
Nov 17, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
estebank
commented
Nov 19, 2018
You will need to fix the rebase. It seems like your best choice at this point might be to just compare against your local master to get the appropriate changes, as it might be easier to do correctly. Alternatively, you can try following https://medium.com/@jeffreymmeyers/recovering-a-bad-git-rebase-with-git-reflog-e6ddedf02329. You will also have to update the E0162 error cases and text in the index at |
bors
commented
Nov 21, 2018
☔ The latest upstream changes (presumably #56032) made this pull request unmergeable. Please resolve the merge conflicts. |
TimNN
commented
Nov 27, 2018
Ping from triage @Nokel81: It looks like your PR needs to be rebased. |
Centril
commented
Nov 30, 2018
Hey @Nokel81; do you think you can get this into a ready state by Monday (2018-12-03)? |
Nokel81
commented
Nov 30, 2018
@Centril I think I will be able to. |
rust-highfive
commented
Dec 3, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Centril
commented
Dec 3, 2018
cc @eddyb, can you help out here? |
oli-obk
commented
Dec 3, 2018
You're seeing doctest failures in rust/src/librustc_mir/diagnostics.rs Line 347 in 8ec22e7 rust/src/librustc_mir/diagnostics.rs Line 374 in 8ec22e7 |
eddyb
commented
Dec 3, 2018
@Nokel81 Search for the error codes, |
Nokel81
commented
Dec 3, 2018
I will do a rebase later today |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
File: allow_irrefutable_let_patterns.rs
rust-highfive
commented
Dec 5, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Dec 6, 2018
☔ The latest upstream changes (presumably #56557) made this pull request unmergeable. Please resolve the merge conflicts. |
rust-highfive
commented
Dec 9, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
estebank
commented
Dec 9, 2018
|
| // Allows use of the `:literal` macro fragment specifier (RFC 1576). | ||
| (accepted, macro_literal_matcher, "1.31.0", Some(35625), None), | ||
| // Allows irrefutable patterns in if-let and while-let statements (RFC 2086) | ||
| (accepted, irrefutable_let_patterns, "1.32.0", Some(44495), None), |
There was a problem hiding this comment.
| (accepted, irrefutable_let_patterns,"1.32.0",Some(44495),None), | |
| (accepted, irrefutable_let_patterns,"1.33.0",Some(44495),None), |
It slipped so you'll have to bump the version.
bors
commented
Dec 23, 2018
☔ The latest upstream changes (presumably #57063) made this pull request unmergeable. Please resolve the merge conflicts. |
Dylan-DPC-zz
commented
Jan 7, 2019
ping from triage @Nokel81 you need to address the changes requested and the conflicts |
varkor
commented
Jan 12, 2019
Nokel81
commented
Jan 12, 2019
via email
#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;} Thanks, I just haven't had enough time. Sorry! But thank you very much. Sebastian Malton From: notifications@github.comSent: January 11, 2019 10:15 PMTo: rust@noreply.github.comReply to: reply@reply.github.comCc: sebastian@malton.name; mention@noreply.github.comSubject: Re: [rust-lang/rust] Stabilize allow irrefutable if-let patterns (#55639) I've opened #57535 to stabilise if-let patterns, as we want to get it in before the beta cut-off. Thanks for your work, @Nokel81! You're a coauthor on the change, so your work didn't go to waste.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread. |
…rns, r=Centril Stabilise irrefutable if-let and while-let patterns This stabilises RFC 2086 (rust-lang#44495). This replaces rust-lang#55639, as we want to stabilise this in time for the beta cut-off. Closesrust-lang#55639. r? @Centril
This PR is for the stabilization of RFC 2086