Uh oh!
There was an error while loading. Please reload this page.
Always invoke statement attributes on the statement itself - #79326
Conversation
rust-highfive
commented
Nov 23, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
petrochenkov
commented
Nov 23, 2020
In #78296 (comment) I meant including the
I think they should parse if the |
This is preparation for PR rust-lang#78296, which will require us to handle statement items in addition to normal items.
Aaron1011
commented
Nov 24, 2020
@petrochenkov: Splitting out just the I could try to add a workaround, but it would be immediately reverted by #78296 |
49c980b to
0850c65CompareAaron1011
commented
Nov 24, 2020
@petrochenkov: I've added the |
0850c65 to
75d3673CompareThere was a problem hiding this comment.
This is the behavior that we want - the trailing semicolon is not considered part of the statement. I'll make sure that this behavior is preserved in #78296
75d3673 to
fc5ed09Comparepetrochenkov
commented
Nov 24, 2020
I see, I assumed that you could use tokens from the item (and looks like that's what the updated PR does). |
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
Nov 24, 2020
r=me with #79326 (comment) addressed. |
Annotatable::Stmt in some builtin macrosAaron1011
commented
Nov 24, 2020
I updated the PR description to better reflect the changes |
fc5ed09 to
9c9f406CompareAaron1011
commented
Nov 24, 2020
@bors r=petrochenkov |
bors
commented
Nov 24, 2020
📌 Commit 9c9f406 has been approved by |
bors
commented
Nov 25, 2020
⌛ Testing commit 9c9f406 with merge 22f0c711908e699e465a9a34980861cbce4902dd... |
bors
commented
Nov 25, 2020
💔 Test failed - checks-actions |
Aaron1011
commented
Nov 25, 2020
Failed due an old version of We need to bump to a version of |
Aaron1011
commented
Nov 25, 2020
@SimonSapin: It looks like |
SimonSapin
commented
Nov 25, 2020
The easiest is probably to use a more recent diff --git src/tools/cargotest/main.rs src/tools/cargotest/main.rs
index 8aabe077cf1..dc09e7ffc1d 100644
--- src/tools/cargotest/main.rs+++ src/tools/cargotest/main.rs@@ -43,7 +43,7 @@ struct Test {
Test {
name: "servo",
repo: "https://github.com/servo/servo",
- sha: "caac107ae8145ef2fd20365e2b8fadaf09c2eb3b",+ sha: "90e8e19f5e53fe35ab15e372c359ba681c8bc843",
lock: None,
// Only test Stylo a.k.a. Quantum CSS, the parts of Servo going into Firefox.
// This takes much less time to build than all of Servo and supports stable Rust. |
Uh oh!
There was an error while loading. Please reload this page.
Aaron1011
commented
Nov 25, 2020
@petrochenkov: I've adjusted the pretty-print hack, which makes |
petrochenkov
commented
Nov 25, 2020
@bors r+ |
bors
commented
Nov 25, 2020
📌 Commit baefba8 has been approved by |
bors
commented
Nov 25, 2020
bors
commented
Nov 25, 2020
☀️ Test successful - checks-actions |
This is preparation for PR #78296, which will require us to handle
statement items in addition to normal items.