Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 15 pull requests #76974

Closed
wants to merge 44 commits into from
Closed

Conversation

RalfJung
Copy link
Member

Successful merges:

Failed merges:

r? @ghost

camelid and others added 30 commits September 14, 2020 20:05
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Add a target_override hook that takes priority over builtin targets.
Libc isn't used by alloc.
And std and panic_* use libc from crates.io now,
which isn't feature gated.
The Rust version number is currently embedded in bootstrap's source
code, which makes it hard to update it automatically or access it
outside of ./x.py (as you'd have to parse the source code).

This commit moves the version number to a standalone plaintext file,
which makes accessing or updating it trivial.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This is specifically disallowed by the RFC, but we never added a check
for it.

Fixes rust-lang#76202
…fJung

Add docs for `BasicBlock`

Fixes rust-lang#76715.

---

@rustbot modify labels: A-mir T-doc C-enhancement
…=eddyb

Let backends define custom targets

Add a target_override hook that takes priority over builtin targets.
Remove unused feature gates from library/ crates

Removes some unused feature gates from library crates. It's likely not a complete list as I only tested a subset for which it's more likely that it is unused.
…binary-heap, r=jyn514

Move to intra-doc links in library/alloc/src/collections/binary_heap.rs

Helps with rust-lang#75080.

@rustbot modify labels: T-doc, A-intra-doc-links
… r=jyn514

Move to intra-doc links in collections/btree/map.rs and collections/linked_list.rs

Helps with rust-lang#75080.

@rustbot modify labels: T-doc, A-intra-doc-links
…vec-deque, r=jyn514

Move to intra-doc links in collections/vec_deque.rs and collections/vec_deque/drain.rs

Helps with rust-lang#75080.

@rustbot modify labels: T-doc, A-intra-doc-links
…crum

Move the version number to a plaintext file

The Rust version number is currently embedded in bootstrap's source code, which makes it hard to update it automatically or access it outside of ./x.py (as you'd have to parse the source code).

This PR moves the version number to a standalone plaintext file, which makes accessing or updating it trivial.

r? @Mark-Simulacrum
…xamples, r=Dylan-DPC

Add missing examples on HashSet iter types
use matches!() macro for simple if let conditions
don't take `TyCtxt` by reference

small cleanup
transmute: use diagnostic item

closes rust-lang#66075, we now have no remaining uses of `match_def_path`  in the compiler while some uses still remain in `clippy`.

cc @RalfJung
Add tracking issue for feature(unix_socket_peek)

Feature was added in rust-lang#73761
…ulacrum

BTreeMap: code readability tweaks

Gathered over the past months

r? @Mark-Simulacrum
Don't allow implementing trait directly on type-alias-impl-trait

This is specifically disallowed by the RFC, but we never added a check
for it.

Fixes rust-lang#76202
@RalfJung
Copy link
Member Author

Strange, bors created the PR twice...

@RalfJung RalfJung closed this Sep 20, 2020
@RalfJung RalfJung deleted the rollup-vi54js0 branch September 20, 2020 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet