Skip to content

Rollup of 7 pull requests - #64901

Closed
Centril wants to merge 21 commits into
rust-lang:masterfrom
Centril:rollup-aath7ol
Closed

Rollup of 7 pull requests#64901
Centril wants to merge 21 commits into
rust-lang:masterfrom
Centril:rollup-aath7ol

Conversation

@Centril

Copy link
Copy Markdown
Contributor

Successful merges:

Failed merges:

r? @ghost

estebankand others added 21 commits September 22, 2019 11:27
When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at
`Foo`'s definition in the error.
When encountering code like the following:
```rust
fn main() {
match 3 {
4 => 1,
3 => {
println!("Yep it maches.");
2
}
_ => 2
}
println!("Bye!")
}
```
point at the enclosing `match` expression and suggest ignoring the
returned value:
```
error[E0308]: mismatched types
--> $DIR/match-needing-semi.rs:8:13
|
LL | / match 3 {
LL | | 4 => 1,
LL | | 3 => {
LL | | 2
| | ^ expected (), found integer
LL | | }
LL | | _ => 2
LL | | }
| | -- help: consider using a semicolon here
| |_____|
| expected this to be `()`
|
= note: expected type `()`
found type `{integer}
```
Fixrust-lang#40799.
Fuse parsing of `self` into `parse_param_general`.
Point at definition when misusing ADT
When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
…-E0533, r=Centril
Add long error explanation for E0533
Part of rust-lang#61137
Point at enclosing match when expecting `()` in arm
When encountering code like the following:
```rust
fn main() {
match 3 {
4 => 1,
3 => {
println!("Yep it maches.");
2
}
_ => 2
}
println!("Bye!")
}
```
point at the enclosing `match` expression and suggest ignoring the
returned value:
```
error[E0308]: mismatched types
--> $DIR/match-needing-semi.rs:8:13
|
LL | / match 3 {
LL | | 4 => 1,
LL | | 3 => {
LL | | 2
| | ^ expected (), found integer
LL | | }
LL | | _ => 2
LL | | }
| | -- help: consider using a semicolon here
| |_____|
| expected this to be `()`
|
= note: expected type `()`
found type `{integer}
```
Fixrust-lang#40799.
Add support for relating slices in `super_relate_consts`
This allows passing strings as generic arguments.
Fixesrust-lang#63773Fixesrust-lang#60813
r? @varkor
syntax: fix dropping of attribute on first param of non-method assocated fn
Fixesrust-lang#64682.
The general idea is that we bake parsing of `self` into `parse_param_general` and then we just use standard list parsing. Overall, this simplifies the parsing and makes it more consistent.
r? @petrochenkov cc @c410-f3r
Remove legacy grammar
Revival of rust-lang#50835 & rust-lang#55545
On the #wg-grammar discord there was agreement that enough progress has been made to be able to remove the legacy grammar.
r? @Centril@qmx
cc @rust-lang/wg-grammar
@Centril

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=7 rollup=never

@bors

bors commented Sep 29, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit f39a627 has been approved by Centril

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 29, 2019
@bors

bors commented Sep 29, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f39a627 with merge 97d03dd4acbbcb92070c03bc1b609cf4bb2d34c1...

@Centril

Copy link
Copy Markdown
ContributorAuthor

@bors r- retry (#64896 (comment))

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 29, 2019
@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 29, 2019
@CentrilCentril closed this Sep 29, 2019
@Centril
Centril deleted the rollup-aath7ol branch September 29, 2019 18:35
@rust-highfive

Copy link
Copy Markdown
Contributor

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-09-29T17:44:12.0749769Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-29T17:44:12.0961255Z ##[command]git config gc.auto 0
2019-09-29T17:44:12.1013717Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-29T17:44:12.1071733Z ##[command]git config --get-all http.proxy
2019-09-29T17:44:12.1212449Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64901/merge:refs/remotes/pull/64901/merge
---
2019-09-29T18:45:07.0250349Z .................................................................................................... 1500/9077
2019-09-29T18:45:13.5149193Z .................................................................................................... 1600/9077
2019-09-29T18:45:22.9418691Z .................................................................................................i.. 1700/9077
2019-09-29T18:45:31.2779249Z .............i...................................................................................... 1800/9077
2019-09-29T18:45:38.1592914Z ........................................................................................iiiii....... 1900/9077
2019-09-29T18:46:00.1152975Z .................................................................................................... 2100/9077
2019-09-29T18:46:02.5447027Z .................................................................................................... 2200/9077
2019-09-29T18:46:05.0994825Z .................................................................................................... 2300/9077
2019-09-29T18:46:11.5500915Z .................................................................................................... 2400/9077
---
2019-09-29T18:49:06.7785850Z ............................................................................i...............i....... 4700/9077
2019-09-29T18:49:15.0785178Z .................................................................................................... 4800/9077
2019-09-29T18:49:24.6784674Z .................................................................................................... 4900/9077
2019-09-29T18:49:30.6089336Z .................................................................................................... 5000/9077
2019-09-29T18:49:41.3198751Z ................................................................ii.ii............................... 5100/9077
2019-09-29T18:49:50.8611400Z .................................................................................................... 5300/9077
2019-09-29T18:50:00.1798506Z .................................................................................................... 5400/9077
2019-09-29T18:50:07.6043301Z ..............................i..................................................................... 5500/9077
2019-09-29T18:50:13.6882633Z .................................................................................................... 5600/9077
2019-09-29T18:50:13.6882633Z .................................................................................................... 5600/9077
2019-09-29T18:50:25.6140218Z .................................................................................................... 5700/9077
2019-09-29T18:50:36.9009196Z .........................ii...i..ii...........i..................................................... 5800/9077
2019-09-29T18:50:58.1197301Z .................................................................................................... 6000/9077
2019-09-29T18:51:04.2759589Z .................................................................................................... 6100/9077
2019-09-29T18:51:04.2759589Z .................................................................................................... 6100/9077
2019-09-29T18:51:18.1122059Z ............................i..ii................................................................... 6200/9077
2019-09-29T18:51:37.4740846Z .......................................................................................i............ 6400/9077
2019-09-29T18:51:39.7028412Z .................................................................................................... 6500/9077
2019-09-29T18:51:42.0336851Z ...........................................................i........................................ 6600/9077
2019-09-29T18:51:45.1434920Z .................................................................................................... 6700/9077
---
2019-09-29T18:56:10.7728931Z finished in 5.394
2019-09-29T18:56:10.7912929Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:56:10.9569836Z 2019-09-29T18:56:10.9570104Z running 150 tests
2019-09-29T18:56:14.8146069Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-29T18:56:16.1336980Z ..iiii..............i.........iii.i.......ii......
2019-09-29T18:56:16.1338521Z 2019-09-29T18:56:16.1340688Z finished in 5.342
2019-09-29T18:56:16.1522448Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:56:16.3092331Z ---
2019-09-29T18:56:18.3286144Z finished in 2.176
2019-09-29T18:56:18.3467018Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:56:18.4996898Z 2019-09-29T18:56:18.4997575Z running 9 tests
2019-09-29T18:56:18.4998441Z iiiiiiiii
2019-09-29T18:56:18.4999012Z 2019-09-29T18:56:18.5003690Z finished in 0.154
2019-09-29T18:56:18.5177308Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:56:18.6712482Z ---
2019-09-29T18:56:37.3198903Z finished in 17.921
2019-09-29T18:56:37.3199193Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:56:37.3199236Z 2019-09-29T18:56:37.3199279Z running 123 tests
2019-09-29T18:56:59.8867405Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-29T18:57:04.4571830Z i.i.i......iii.i.....ii
2019-09-29T18:57:04.4572365Z 2019-09-29T18:57:04.4572409Z finished in 27.997
2019-09-29T18:57:04.4586049Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T18:57:04.4586715Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-29T19:09:58.7572811Z 2019-09-29T19:09:58.7573760Z Doc-tests core
2019-09-29T19:10:03.7625107Z 2019-09-29T19:10:03.7625526Z running 2405 tests
2019-09-29T19:10:15.1477356Z ......iiiii......................................................................................... 100/2405
2019-09-29T19:10:26.0062249Z ...............................................................................ii................... 200/2405
2019-09-29T19:10:51.8935042Z .i.................................................................................................. 400/2405
2019-09-29T19:10:51.8935042Z .i.................................................................................................. 400/2405
2019-09-29T19:11:02.6426902Z ................................................i..i.................iiii........................... 500/2405
2019-09-29T19:11:23.1979262Z .................................................................................................... 700/2405
2019-09-29T19:11:33.6680349Z .................................................................................................... 800/2405
2019-09-29T19:11:44.2627047Z .................................................................................................... 900/2405
2019-09-29T19:11:54.8209324Z .................................................................................................... 1000/2405
---
2019-09-29T19:16:10.7532631Z 2019-09-29T19:16:10.7537449Z running 992 tests
2019-09-29T19:16:32.6256228Z i................................................................................................... 100/992
2019-09-29T19:16:44.4150112Z .................................................................................................... 200/992
2019-09-29T19:16:52.8889659Z .................iii......i......i...i......i....................................................... 300/992
2019-09-29T19:16:58.7447029Z .................................................................................................... 400/992
2019-09-29T19:17:06.7733756Z ...................................i..i.................................ii.......................... 500/992
2019-09-29T19:17:22.1716414Z .................................................................................................... 700/992
2019-09-29T19:17:22.1716414Z .................................................................................................... 700/992
2019-09-29T19:17:30.7684423Z ..................iiii.............................................................................. 800/992
2019-09-29T19:17:46.1084427Z .................................................................................................... 900/992
2019-09-29T19:17:53.9493715Z ........................................iiii................................................
2019-09-29T19:17:53.9494976Z 2019-09-29T19:17:53.9533138Z finished in 198.103
2019-09-29T19:17:53.9550827Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-29T19:17:54.1616122Z Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-09-29T19:31:25.7407155Z Rustbook (x86_64-unknown-linux-gnu) - book/first-edition
2019-09-29T19:31:25.8745363Z Rustbook (x86_64-unknown-linux-gnu) - book/second-edition
2019-09-29T19:31:26.1332851Z Rustbook (x86_64-unknown-linux-gnu) - book/2018-edition
2019-09-29T19:31:26.3954791Z Documenting standalone (x86_64-unknown-linux-gnu)
2019-09-29T19:31:26.5536259Z error: invalid markdown file: no initial lines starting with `# ` or `%`
2019-09-29T19:31:26.5543258Z 2019-09-29T19:31:26.5543545Z 2019-09-29T19:31:26.5543545Z 2019-09-29T19:31:26.5546572Z command did not execute successfully: "/checkout/obj/build/bootstrap/debug/rustdoc" "--html-after-content" "/checkout/src/doc/footer.inc" "--html-before-content" "/checkout/obj/build/x86_64-unknown-linux-gnu/doc/version_info.html" "--html-in-header" "/checkout/src/doc/favicon.inc" "--markdown-no-toc" "--index-page" "/checkout/src/doc/index.md" "--markdown-playground-url" "https://play.rust-lang.org/" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/doc" "/checkout/src/doc/grammar.md" "--markdown-css" "rust.css"
2019-09-29T19:31:26.5547756Z 2019-09-29T19:31:26.5547815Z 2019-09-29T19:31:26.5557089Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-29T19:31:26.5557302Z Build completed unsuccessfully in 1:40:21
2019-09-29T19:31:26.5557302Z Build completed unsuccessfully in 1:40:21
2019-09-29T19:31:26.5611044Z == clock drift check ==
2019-09-29T19:31:26.5629045Z local time: Sun Sep 29 19:31:26 UTC 2019
2019-09-29T19:31:26.7123368Z network time: Sun, 29 Sep 2019 19:31:26 GMT
2019-09-29T19:31:26.7128283Z == end clock drift check ==
2019-09-29T19:31:29.2622407Z ##[error]Bash exited with code '1'.
2019-09-29T19:31:29.2681843Z ##[section]Starting: Checkout
2019-09-29T19:31:29.2684344Z ==============================================================================
2019-09-29T19:31:29.2684400Z Task : Get sources
2019-09-29T19:31:29.2684461Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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 @TimNN. (Feature Requests)

@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-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.

8 participants

@Centril@bors@rust-highfive@estebank@GuillaumeGomez@skinnyBat@jakevossen5@XAMPPRocky