Skip to content

Rollup of 8 pull requests - #91664

Closed
matthiaskrgr wants to merge 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-aleb68f
Closed

Rollup of 8 pull requests#91664
matthiaskrgr wants to merge 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-aleb68f

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

b-naberand others added 20 commits December 5, 2021 12:43
When we point at a binding to suggest giving it a type, erase all the
type for ADTs that have been resolved, leaving only the ones that could
not be inferred. For small shallow types this is not a problem, but for
big nested types with lots of params, this can otherwise cause a lot of
unnecessary visual output.
When the value of a const param isn't inferred, replace it with the
param name from the definition.
Prevent spurious build failures and other bugs caused by parallel runs of
x.py. We back the lock with sqlite, so that we have a cross-platform locking
strategy, and which can be done nearly first in the build process (from Python),
which helps move the lock as early as possible.
…Simulacrum
Lock bootstrap (x.py) build directory
Closesrust-lang#76661, closesrust-lang#80849,
`x.py` creates a lock file at `project_root/lock.db`
r? ``@jyn514`` , because he was one that told me about this~
…=nagisa
Only shown relevant type params in E0283 label
When we point at a binding to suggest giving it a type, erase all the
type for ADTs that have been resolved, leaving only the ones that could
not be inferred. For small shallow types this is not a problem, but for
big nested types with lots of params, this can otherwise cause a lot of
unnecessary visual output.
…e, r=oli-obk
Allow for failure of subst_normalize_erasing_regions in const_eval
Fixesrust-lang#72845
Using associated types that cannot be normalized previously resulted in an ICE. We now allow for normalization failure and return a "TooGeneric" error in that case.
r? ``@RalfJung`` maybe?
Evaluate inline const pat early and report error if too generic
Fixrust-lang#90150
```@rustbot``` label: T-compiler F-inline_const
…crum
Remove unneeded access to pretty printer's `s` field in favor of deref
I found it taxing in some of my recent PRs touching the pretty printer to maintain consistency with the surrounding code, since the current code is all over the place about whether it uses `self.s.…()` or `self.…()` for invoking methods of `rustc_ast_pretty::pp::Printer`.
This PR standardizes on `self.…()` — relying on the `Deref` and `DerefMut` impls introduced by [rust-lang#62532](rust-lang@cab4532).
…omez
Link to rustdoc_json_types docs instead of rustdoc-json RFC
The JSON format has had [many changes](https://github.com/rust-lang/rust/commits/master/src/rustdoc-json-types) since the RFC, so the rustdoc output is the only up to date reference
``@rustdoc`` modify labels: +A-rustdoc-json +A-docs
Update cargo
8 commits in 294967c53f0c70d598fc54ca189313c86c576ea7..40dc281755137ee804bc9b3b08e782773b726e44
2021-11-29 19:04:22 +0000 to 2021-12-06 21:54:44 +0000
- Unify the description of quiet flag (rust-lang/cargo#10168)
- Stabilize future-incompat-report (rust-lang/cargo#10165)
- Support abbreviating `--release` as `-r` (rust-lang/cargo#10133)
- doc: nudge towards simple version requirements (rust-lang/cargo#10158)
- Upgrade clap to 2.34.0 (rust-lang/cargo#10164)
- Treat EOPNOTSUPP the same as ENOTSUP when ignoring failed flock calls. (rust-lang/cargo#10157)
- Add note about RUSTFLAGS removal from build scripts. (rust-lang/cargo#10141)
- Make clippy happy (rust-lang/cargo#10139)
…r=notriddle
Add missing whitespace before disabled HTML attribute
On the [w3c HTML checker](https://validator.w3.org/nu/#textarea), with the current generated HTML we get:
![Screenshot from 2021-12-07 15-10-38](https://user-images.githubusercontent.com/3050060/145044653-b38fb679-da76-4890-853f-b696d8fdc06e.png)
The problem was that we were telling tera to remove too many whitespace.
r? ```@notriddle```
@rustbotrustbot added the rollup A PR which is a rollup label Dec 8, 2021
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=8

@bors

bors commented Dec 8, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 8007601 has been approved by matthiaskrgr

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

bors commented Dec 8, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 8007601 with merge 0476af45cf9a2a7c973676ac6df4762ecca3da7c...

@bors

bors commented Dec 8, 2021

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 8, 2021
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor
 == end clock drift check ==
sccache: Starting the server...
Traceback (most recent call last):
File "/checkout/src/bootstrap/configure.py", line 12, in <module>
import bootstrap
File "/checkout/src/bootstrap/bootstrap.py", line 15, in <module>
import sqlite3
File "/rustroot/lib/python3.9/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/rustroot/lib/python3.9/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
== clock drift check ==

ouff

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-i686-linux failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
 network time: Wed, 08 Dec 2021 14:57:33 GMT
== end clock drift check ==
sccache: Starting the server...
Traceback (most recent call last):
File "/checkout/src/bootstrap/configure.py", line 12, in <module>
import bootstrap
File "/checkout/src/bootstrap/bootstrap.py", line 15, in <module>
import sqlite3
File "/rustroot/lib/python3.9/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/rustroot/lib/python3.9/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'

@matthiaskrgr
matthiaskrgr deleted the rollup-aleb68f branch December 12, 2021 09:58
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-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@matthiaskrgr@bors@rust-log-analyzer@rustbot@b-naber@nbdd0121@aDotInTheVoid@estebank@ehuss@GuillaumeGomez@dtolnay@worldeva