-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 14 pull requests #59043
Rollup of 14 pull requests #59043
Commits on Feb 22, 2019
-
Add MaybeUninit::read_uninitialized
Also remove a no-longer accurate comments
Configuration menu - View commit details
-
Copy full SHA for 13ffbee - Browse repository at this point
Copy the full SHA 13ffbeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc570fb - Browse repository at this point
Copy the full SHA dc570fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f511d - Browse repository at this point
Copy the full SHA 10f511dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48aa59e - Browse repository at this point
Copy the full SHA 48aa59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 084ee7a - Browse repository at this point
Copy the full SHA 084ee7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d10366f - Browse repository at this point
Copy the full SHA d10366fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa4a9b0 - Browse repository at this point
Copy the full SHA aa4a9b0View commit details
Commits on Feb 23, 2019
-
Apply suggestions from code review
Co-Authored-By: RalfJung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 53c0275 - Browse repository at this point
Copy the full SHA 53c0275View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac2284b - Browse repository at this point
Copy the full SHA ac2284bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ce9b86 - Browse repository at this point
Copy the full SHA 8ce9b86View commit details
Commits on Feb 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a5e2d0c - Browse repository at this point
Copy the full SHA a5e2d0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for be8d728 - Browse repository at this point
Copy the full SHA be8d728View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d32e5a - Browse repository at this point
Copy the full SHA 6d32e5aView commit details
Commits on Feb 27, 2019
-
Mention
unwind(aborts)
in diagnostics for#[unwind]
Simplify input validation for `#[unwind]`, add tests
Configuration menu - View commit details
-
Copy full SHA for b11502f - Browse repository at this point
Copy the full SHA b11502fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc00a8a - Browse repository at this point
Copy the full SHA dc00a8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc4b916 - Browse repository at this point
Copy the full SHA fc4b916View commit details -
Configuration menu - View commit details
-
Copy full SHA for e206d4e - Browse repository at this point
Copy the full SHA e206d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ff7dc - Browse repository at this point
Copy the full SHA 93ff7dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 987d71f - Browse repository at this point
Copy the full SHA 987d71fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd3826 - Browse repository at this point
Copy the full SHA bdd3826View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36b1326 - Browse repository at this point
Copy the full SHA 36b1326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1068424 - Browse repository at this point
Copy the full SHA 1068424View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525dc46 - Browse repository at this point
Copy the full SHA 525dc46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fb2d8b - Browse repository at this point
Copy the full SHA 5fb2d8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0976e5e - Browse repository at this point
Copy the full SHA 0976e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a89c6 - Browse repository at this point
Copy the full SHA 42a89c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df193f - Browse repository at this point
Copy the full SHA 0df193fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b853d - Browse repository at this point
Copy the full SHA 70b853dView commit details
Commits on Feb 28, 2019
-
Make
Unique::as_ptr
,NonNull::dangling
andNonNull::cast
constMake `Unique::as_ptr` const without feature attribute as it's unstable Make `NonNull::dangling` and `NonNull::cast` const with `feature = "const_ptr_nonnull"`
Tim committedFeb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 797d8ea - Browse repository at this point
Copy the full SHA 797d8eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 009c91a - Browse repository at this point
Copy the full SHA 009c91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e98a25 - Browse repository at this point
Copy the full SHA 9e98a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc94593 - Browse repository at this point
Copy the full SHA fc94593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95500c0 - Browse repository at this point
Copy the full SHA 95500c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb1ab5 - Browse repository at this point
Copy the full SHA 5eb1ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a2559 - Browse repository at this point
Copy the full SHA a3a2559View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ce19b4 - Browse repository at this point
Copy the full SHA 3ce19b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63bdd29 - Browse repository at this point
Copy the full SHA 63bdd29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80b4919 - Browse repository at this point
Copy the full SHA 80b4919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b63543 - Browse repository at this point
Copy the full SHA 1b63543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74cf1ad - Browse repository at this point
Copy the full SHA 74cf1adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 515dbe7 - Browse repository at this point
Copy the full SHA 515dbe7View commit details
Commits on Mar 2, 2019
-
fix an issue with path probing on Windows
The old logic would incorrectly look for "python2.exe" when searching for "python2.7.exe".
Configuration menu - View commit details
-
Copy full SHA for 5360ded - Browse repository at this point
Copy the full SHA 5360dedView commit details -
look for python2 symlinks before bootstrap python
Before this commit, if you're running x.py directly on a system where `python` is symlinked to Python 3, then the `python` config option will default to a Python 3 interpreter. This causes debuginfo tests to fail with an opaque error message, since they have a hard requirement on Python 2. This commit modifies the Python probe behavior to look for python2.7 and python2 *before* using the interpreter used to execute `x.py`.
Configuration menu - View commit details
-
Copy full SHA for 12d8a7d - Browse repository at this point
Copy the full SHA 12d8a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c38c959 - Browse repository at this point
Copy the full SHA c38c959View commit details
Commits on Mar 3, 2019
-
Ignore should_panic tests on android
These tests currently segfault sometimes. Android is a tier-2 target so this is fine to disable instead of fixing. Unfortunately, this isn't quite enough as rustdoc doesn't currently correctly interpret the --exclude-should-panic flag (i.e., ignores it). That proved to be harder to fix than I had time for so we're going to leave it and hope that at least some of the failures are fixed.
Configuration menu - View commit details
-
Copy full SHA for 1055263 - Browse repository at this point
Copy the full SHA 1055263View commit details -
Tim committed
Mar 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 60a649e - Browse repository at this point
Copy the full SHA 60a649eView commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5c0615b - Browse repository at this point
Copy the full SHA 5c0615bView commit details -
Add as_slice() to slice::IterMut and vec::Drain
In indexmap-rs/indexmap#88, we found that there was no easy way to implement `Debug` for our `IterMut` and `Drain` iterators. Those are built on `slice::IterMut` and `vec::Drain`, which implement `Debug` themselves, but have no other way to access their data. With a new `as_slice()` method, we can read the data and customize its presentation.
Configuration menu - View commit details
-
Copy full SHA for 538a096 - Browse repository at this point
Copy the full SHA 538a096View commit details
Commits on Mar 5, 2019
-
Saleem Jaffer committed
Mar 5, 2019 Configuration menu - View commit details
-
Copy full SHA for 9902f8c - Browse repository at this point
Copy the full SHA 9902f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e28cf74 - Browse repository at this point
Copy the full SHA e28cf74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df0b89 - Browse repository at this point
Copy the full SHA 3df0b89View commit details
Commits on Mar 6, 2019
-
Apply suggestions from code review
Co-Authored-By: cuviper <cuviper@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5384a11 - Browse repository at this point
Copy the full SHA 5384a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e0d1c - Browse repository at this point
Copy the full SHA 51e0d1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e478cad - Browse repository at this point
Copy the full SHA e478cadView commit details -
Split up privacy checking so privacy_access_levels only does computat…
…ions required for AccessLevels
Configuration menu - View commit details
-
Copy full SHA for d5bb71c - Browse repository at this point
Copy the full SHA d5bb71cView commit details -
Run the first block in a parallel! macro directly in the scope which …
…guarantees that it will run immediately
Configuration menu - View commit details
-
Copy full SHA for d2923e5 - Browse repository at this point
Copy the full SHA d2923e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1745957 - Browse repository at this point
Copy the full SHA 1745957View commit details -
Configuration menu - View commit details
-
Copy full SHA for 140a837 - Browse repository at this point
Copy the full SHA 140a837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 350f72f - Browse repository at this point
Copy the full SHA 350f72fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f7450 - Browse repository at this point
Copy the full SHA 01f7450View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc7b8f - Browse repository at this point
Copy the full SHA 7cc7b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db9a1c1 - Browse repository at this point
Copy the full SHA db9a1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7985c6f - Browse repository at this point
Copy the full SHA 7985c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e5def9 - Browse repository at this point
Copy the full SHA 9e5def9View commit details -
Apply suggestions from code review
Co-Authored-By: RalfJung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 90bb07e - Browse repository at this point
Copy the full SHA 90bb07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cefe9b0 - Browse repository at this point
Copy the full SHA cefe9b0View commit details
Commits on Mar 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e5b3ed8 - Browse repository at this point
Copy the full SHA e5b3ed8View commit details
Commits on Mar 8, 2019
-
std: Delete a by-definition spuriously failing test
This commit deletes the `connect_timeout_unbound` test from the standard library which, unfortunately, is by definition eventually going to be a spuriously failing test. There's no way to reserve a port as unbound so we can rely on ecosystem testing for this feature for now. Closes rust-lang#52590
Configuration menu - View commit details
-
Copy full SHA for 6465257 - Browse repository at this point
Copy the full SHA 6465257View commit details
Commits on Mar 9, 2019
-
Rollup merge of rust-lang#58518 - oli-obk:unreachable_result_errors, …
…r=RalfJung Use early unwraps instead of bubbling up errors just to unwrap in the end r? @RalfJung
Configuration menu - View commit details
-
Copy full SHA for c65d544 - Browse repository at this point
Copy the full SHA c65d544View commit details -
Rollup merge of rust-lang#58626 - QuietMisdreavus:doc-coverage, r=Gui…
…llaumeGomez rustdoc: add option to calculate "documentation coverage" This PR adds a new flag to rustdoc, `--show-coverage`. When passed, this flag will make rustdoc count the number of items in a crate with documentation instead of generating docs. This count will be output as a table of each file in the crate, like this (when run on my crate `egg-mode`): ``` +-------------------------------------+------------+------------+------------+ | File | Documented | Total | Percentage | +-------------------------------------+------------+------------+------------+ | src/auth.rs | 16 | 16 | 100.0% | | src/common/mod.rs | 1 | 1 | 100.0% | | src/common/response.rs | 9 | 9 | 100.0% | | src/cursor.rs | 24 | 24 | 100.0% | | src/direct/fun.rs | 6 | 6 | 100.0% | | src/direct/mod.rs | 41 | 41 | 100.0% | | src/entities.rs | 50 | 50 | 100.0% | | src/error.rs | 27 | 27 | 100.0% | | src/lib.rs | 1 | 1 | 100.0% | | src/list/fun.rs | 19 | 19 | 100.0% | | src/list/mod.rs | 22 | 22 | 100.0% | | src/media/mod.rs | 27 | 27 | 100.0% | | src/place/fun.rs | 8 | 8 | 100.0% | | src/place/mod.rs | 35 | 35 | 100.0% | | src/search.rs | 26 | 26 | 100.0% | | src/service.rs | 74 | 74 | 100.0% | | src/stream/mod.rs | 49 | 49 | 100.0% | | src/tweet/fun.rs | 15 | 15 | 100.0% | | src/tweet/mod.rs | 73 | 73 | 100.0% | | src/user/fun.rs | 24 | 24 | 100.0% | | src/user/mod.rs | 87 | 87 | 100.0% | +-------------------------------------+------------+------------+------------+ | Total | 634 | 634 | 100.0% | +-------------------------------------+------------+------------+------------+ ``` Trait implementations are not counted because by default they "inherit" the docs from the trait, even though an impl can override those docs. Similarly, inherent impl blocks are not counted at all, because for the majority of cases such docs are not useful. (The usual pattern for inherent impl blocks is to throw all the methods on a type into a single impl block. Any docs you would put on that block would be better served on the type itself.) In addition, `--show-coverage` can be combined with `--document-private-items` to get the coverage counts for everything in the crate, not just public items. The coverage calculation is implemented as a late pass and two new sets of passes which strip out most of the work that rustdoc otherwise does when generating docs. The is because after the new pass is executed, rustdoc immediately closes instead of going on to generate documentation. Many examples of coverage calculations have been included as `rustdoc-ui` tests. r? @rust-lang/rustdoc
Configuration menu - View commit details
-
Copy full SHA for 83362be - Browse repository at this point
Copy the full SHA 83362beView commit details -
Rollup merge of rust-lang#58629 - euclio:debug-empty-str, r=alexcrichton
rust-lldb: fix crash when printing empty string Fixes rust-lang#52185. ~Re-enables the pretty-std debuginfo test and tweaks the test as necessary to get it to pass again. This reveals that lldb's formatting of enums is broken (rust-lang#58492). I also removed the emoji from the test because I couldn't get the docker image's gdb to print the emoji, just octal escapes (https://github.com/rust-lang/rust/pull/53154/files#r208263904).~
Configuration menu - View commit details
-
Copy full SHA for 14a6aa7 - Browse repository at this point
Copy the full SHA 14a6aa7View commit details -
Rollup merge of rust-lang#58660 - RalfJung:maybe-uninit, r=Centril
MaybeUninit: add read_initialized, add examples This adds a new `read_initialized` method, similar to suggestions by @Amanieu and @shepmaster. I also added examples to this and other methods.
Configuration menu - View commit details
-
Copy full SHA for f7e5076 - Browse repository at this point
Copy the full SHA f7e5076View commit details -
Rollup merge of rust-lang#58670 - saleemjaffer:refactor_typecast_chec…
…k_kinds, r=oli-obk fixes rust-lang#52482
Configuration menu - View commit details
-
Copy full SHA for 0e4bbec - Browse repository at this point
Copy the full SHA 0e4bbecView commit details -
Rollup merge of rust-lang#58676 - euclio:bootstrap-python, r=alexcric…
…hton look for python2 symlinks before bootstrap python Before this commit, if you're running x.py directly on a system where `python` is symlinked to Python 3, then the `python` config option will default to a Python 3 interpreter. This causes debuginfo tests to fail with an opaque error message, since they have a hard requirement on Python 2. This commit modifies the Python probe behavior to look for python2.7 and python2 *before* using the interpreter used to execute `x.py`.
Configuration menu - View commit details
-
Copy full SHA for bca962a - Browse repository at this point
Copy the full SHA bca962aView commit details -
Rollup merge of rust-lang#58679 - Zoxc:passes-refactor, r=michaelwoer…
…ister Refactor passes and pass execution to be more parallel For `syntex_syntax` (with 16 threads and 8 cores): - Cuts `misc checking 1` from `0.096s` to `0.08325s`. - Cuts `misc checking 2` from `0.3575s` to `0.2545s`. - Cuts `misc checking 3` from `0.34625s` to `0.21375s`. - Cuts `wf checking` from `0.3085s` to `0.05025s`. Reduces overall execution time for `syntex_syntax` (with 8 threads and cores) from `4.92s` to `4.34s`. Subsumes rust-lang#58494 Blocked on rust-lang#58250 r? @michaelwoerister
Configuration menu - View commit details
-
Copy full SHA for 2a9b328 - Browse repository at this point
Copy the full SHA 2a9b328View commit details -
Rollup merge of rust-lang#58743 - varkor:bulk-needstest-1, r=alexcric…
…hton Add tests for several E-needstest issues This PR adds a number of tests for various `E-needstest` errors. These tend to have been left open for a long time and seem unlikely to be closed otherwise. Closes rust-lang#10876. Closes rust-lang#22892. Closes rust-lang#26448. Closes rust-lang#26577. Closes rust-lang#26619. Closes rust-lang#27054. Closes rust-lang#28587. Closes rust-lang#44127. Closes rust-lang#44255. Closes rust-lang#55731. Closes rust-lang#57781.
Configuration menu - View commit details
-
Copy full SHA for bdf6263 - Browse repository at this point
Copy the full SHA bdf6263View commit details -
Rollup merge of rust-lang#58750 - TimDiekmann:master, r=oli-obk
Make `Unique::as_ptr`, `NonNull::dangling` and `NonNull::cast` const
Configuration menu - View commit details
-
Copy full SHA for 70c1977 - Browse repository at this point
Copy the full SHA 70c1977View commit details -
Rollup merge of rust-lang#58762 - petrochenkov:unwind, r=Mark-Simulacrum
Mention `unwind(aborts)` in diagnostics for `#[unwind]` Simplify input validation for `#[unwind]`, add tests cc rust-lang#58760 r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 9a0a16a - Browse repository at this point
Copy the full SHA 9a0a16aView commit details -
Rollup merge of rust-lang#58900 - Mark-Simulacrum:ignore-should-panic…
…-android, r=kennytm Ignore should_panic tests on android These tests currently segfault sometimes. Android is a tier-2 target so this is fine to disable instead of fixing. Unfortunately, this isn't quite enough as rustdoc doesn't currently correctly interpret the --exclude-should-panic flag (i.e., ignores it). That proved to be harder to fix than I had time for so we're going to leave it and hope that at least some of the failures are fixed. Hopefully alleviates rust-lang#55861; I don't have the time to investigate fixing rustdoc.
Configuration menu - View commit details
-
Copy full SHA for 5753b9e - Browse repository at this point
Copy the full SHA 5753b9eView commit details -
Rollup merge of rust-lang#58924 - cuviper:more-as_slice, r=dtolnay
Add as_slice() to slice::IterMut and vec::Drain In indexmap-rs/indexmap#88, we found that there was no easy way to implement `Debug` for our `IterMut` and `Drain` iterators. Those are built on `slice::IterMut` and `vec::Drain`, which implement `Debug` themselves, but have no other way to access their data. With a new `as_slice()` method, we can read the data and customize its presentation.
Configuration menu - View commit details
-
Copy full SHA for eb77056 - Browse repository at this point
Copy the full SHA eb77056View commit details -
Rollup merge of rust-lang#58990 - oli-obk:miri_manifest, r=alexcrichton
Actually publish miri in the manifest
Configuration menu - View commit details
-
Copy full SHA for aa64a77 - Browse repository at this point
Copy the full SHA aa64a77View commit details -
Rollup merge of rust-lang#59018 - alexcrichton:omg, r=sfackler
std: Delete a by-definition spuriously failing test This commit deletes the `connect_timeout_unbound` test from the standard library which, unfortunately, is by definition eventually going to be a spuriously failing test. There's no way to reserve a port as unbound so we can rely on ecosystem testing for this feature for now. Closes rust-lang#52590
Configuration menu - View commit details
-
Copy full SHA for fbfffd0 - Browse repository at this point
Copy the full SHA fbfffd0View commit details