Skip to content

Rollup of 11 pull requests - #77517

Merged
bors merged 43 commits into
rust-lang:masterfrom
JohnTitor:rollup-msbd49e
Oct 4, 2020
Merged

Rollup of 11 pull requests#77517
bors merged 43 commits into
rust-lang:masterfrom
JohnTitor:rollup-msbd49e

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

workingjubileeand others added 30 commits September 15, 2020 16:10
Remove trailing `-`.
The previous error was confusing since it made it sound like you can't
link to items that are defined outside the current module.
Also suggested importing the item.
The new error was confusing when there was partial resolution (something
like `std::io::nonexistent`); the old one is better for those cases.
This matches Cargo behavior and avoids the (somewhat expensive) double checking,
as well as the unfortunate duplicate error messages (rust-lang#76822,
rust-lang/cargo#5128).
workingjubileeand others added 13 commits October 3, 2020 12:14
Use `tracing` spans to trace the entire MIR interp stack
r? @RalfJung
While being very verbose, this allows really good tracking of what's going on. While I considered schemes like the previous indenter that we had (which we could get by using the `tracing-tree` crate), this will break down horribly with things like multithreaded rustc. Instead, we can now use `RUSTC_LOG` to restrict the things being traced. You could specify a filter in a way that only shows the logging of a specific frame.
![screenshot of command line output of the new formatting](https://user-images.githubusercontent.com/332036/89291343-aa40de00-d65a-11ea-9f6c-ea06c1806327.png)
If we lower the span's level to `debug`, then in `info` level logging we'd not see the frames, but in `debug` level we would see them. The filtering rules in `tracing` are super powerful, but I'm not sure if we can specify a filter so we do see `debug` level events, but *not* the `frame` spans. The documentation at https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/struct.EnvFilter.html makes me think that we can only turn on things, not turn off things at a more precise level.
cc @hawkw
…chenkov
Uplift drop-bounds lint from clippy
Bounds on `T: Drop` do nothing, so they should warn.
… r=ralfjung
Test and reject out-of-bounds shuffle vectors
Fixesrust-lang#73542.
updated p! macro to accept literals
Closesrust-lang#70948
Huge thanks @eddyb for helping me out!
Add some regression tests
Closesrust-lang#66501Closesrust-lang#68951Closesrust-lang#72565Closesrust-lang#74244Closesrust-lang#75299
The first issue is fixed in 1.43.0, other issues are fixed in the recent nightly.
Create E0777 error code for invalid argument in derive
The second commit is to fix a nit reported by @jyn514 [here](https://github.com/rust-lang/rust/pull/76406/files#r485186592).
…ulacrum
BTreeMap: document DrainFilterInner better
r? @Mark-Simulacrum
…rror, r=jyn514
Improve rustdoc error for failed intra-doc link resolution
The previous error was confusing since it made it sound like you can't
link to items that are defined outside the current module.
Also suggested importing the item.
r? @jyn514
…static-morse
Make --all-targets in x.py check opt-in
In particular due to rust-lang#76822, making this the default is currently suboptimal.
r? @ecstatic-morse
@JohnTitor

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5
@rustbot modify labels: rollup

@bors

bors commented Oct 4, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit f5db166 has been approved by JohnTitor

@rustbotrustbot added the rollup A PR which is a rollup label Oct 4, 2020
@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 4, 2020
@bors

bors commented Oct 4, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f5db166 with merge 2251766...

@bors

bors commented Oct 4, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions, checks-azure
Approved by: JohnTitor
Pushing 2251766 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Oct 4, 2020
@bors
bors merged commit 2251766 into rust-lang:masterOct 4, 2020
@rustbotrustbot added this to the 1.49.0 milestone Oct 4, 2020
@JohnTitor
JohnTitor deleted the rollup-msbd49e branch October 4, 2020 07:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.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.

12 participants

@JohnTitor@bors@rustbot@workingjubilee@oli-obk@jakevossen5@GuillaumeGomez@notriddle@ssomers@camelid@Mark-Simulacrum@ecstatic-morse