- 26 10月, 2021 2 次提交
-
-
由 Jacob Hoffman-Andrews 提交于
And add a rustdoc-gui test confirming various header sizes.
-
由 bors 提交于
Fix clippy lints in librustdoc I ran clippy on librustdoc and simply fixed the lints. :) r? `@notriddle`
-
- 25 10月, 2021 27 次提交
-
-
由 bors 提交于
Rollup of 5 pull requests Successful merges: - #90017 (Add a couple tests for normalize under binder issues) - #90079 (enable `i8mm` target feature on aarch64 and arm) - #90233 (Tooltip overflow) - #90257 (Changed slice.swap documentation for better readability) - #90261 (Move back to linux builder on try builds) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
-
由 Guillaume Gomez 提交于
Move back to linux builder on try builds Apparently deleted the wrong line when trying to revert changes to try in #90100 which I now see still contains the do not merge commit -- maybe I forgot to force push the local changes I had pending or something. r? `@pietroalbini`
-
由 Guillaume Gomez 提交于
Changed slice.swap documentation for better readability The example exchanges the letters "b" and "d", these can be easily confused and are hard to read for people with dyslexia. Therefore, I changed the example to a more easily readable one. This is just a small fix and it's not urgent by any means, but I spent 5 minutes trying to understand why I couldn't see any change so I fixed it. Anyway, thank you for all your works!
-
由 Guillaume Gomez 提交于
Tooltip overflow Fixes #89185. r? ``@camelid``
-
由 Guillaume Gomez 提交于
enable `i8mm` target feature on aarch64 and arm As in https://github.com/rust-lang/stdarch/issues/1233, `i8mm` needs to be turned on to support the implementation of `vmmla` and `vusmmla`neon instructions in stdarch. r? ``@Amanieu``
-
由 Guillaume Gomez 提交于
Add a couple tests for normalize under binder issues Closes #56556 Closes #76956 r? ``@nikomatsakis``
-
由 Mark Rousskov 提交于
-
由 Tommaso Fontana 提交于
-
由 Tommaso Fontana 提交于
using "b" and "d" can be easily confused
-
由 bors 提交于
Bump bootstrap compiler to 1.57 Fixes https://github.com/rust-lang/rust/issues/90152 r? `@Mark-Simulacrum`
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 bors 提交于
Rollup of 4 pull requests Successful merges: - #89889 (Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign crate) - #90127 (Do not mention a reexported item if it's private) - #90143 (tidy: Remove submodules from edition exception list) - #90238 (Add alias for guillaume.gomez@huawei.com) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
-
由 SparrowLii 提交于
-
由 SparrowLii 提交于
-
由 Matthias Krüger 提交于
Add alias for guillaume.gomez@huawei.com Hopefully it'll stop making me appear twice in the thanks page. :)
-
由 Matthias Krüger 提交于
tidy: Remove submodules from edition exception list Both style-check and date-check are now on the 2021 edition, and this PR also updates their repositories' submodules. cc rust-lang/rustc-dev-guide#1238 cc rust-lang/reference#1099 cc https://github.com/rust-lang/rust/pull/89103#discussion_r711783714
-
由 Matthias Krüger 提交于
Do not mention a reexported item if it's private Fixes #90113 The _actual_ regression was introduced in #73652, then #88838 made it worse. This fixes the issue by not counting such an import as a candidate.
-
由 Matthias Krüger 提交于
Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign crate Partly address #78543 by making the error quieter. We don't have access to the `typeck` tables from foreign crates, so we used to completely skip the new code when checking foreign crates. Now, we carry on and don't provide as nice output (we don't clarify *what* is making the `Future: !Send`), but at least we no longer emit a sea of derived obligations in the output. [1]: https://blog.rust-lang.org/inside-rust/2019/10/11/AsyncAwait-Not-Send-Error-Improvements.html r? `@tmandry`
-
由 bors 提交于
Cleanup LLVM multi-threading checks The support for runtime multi-threading was removed from LLVM. Calls to `LLVMStartMultithreaded` became no-ops equivalent to checking if LLVM was compiled with support for threads http://reviews.llvm.org/D4216.
-
由 bors 提交于
Build the query vtable directly. Continuation of https://github.com/rust-lang/rust/pull/89978. This shrinks the query interface and attempts to reduce the amount of function pointer calls.
-
由 bors 提交于
Point at overlapping impls when type annotations are needed Address https://github.com/rust-lang/rust/issues/89254.
-
由 Noah Lev 提交于
Both style-check and date-check are now on the 2021 edition, and this commit also updates their repositories' submodules.
-
由 Esteban Kuber 提交于
Partly address #78543 by making the error quieter. We don't have access to the `typeck` tables from foreign crates, so we used to completely skip the new code when checking foreign crates. Now, we carry on and don't provide as nice output (we don't clarify *what* is making the `Future: !Send`), but at least we no longer emit a sea of derived obligations in the output. [1]: https://blog.rust-lang.org/inside-rust/2019/10/11/AsyncAwait-Not-Send-Error-Improvements.html
-
由 Esteban Kuber 提交于
-
由 Esteban Kuber 提交于
-
由 Guillaume Gomez 提交于
-
- 24 10月, 2021 11 次提交
-
-
由 bors 提交于
Rollup of 6 pull requests Successful merges: - #89558 (Add rustc lint, warning when iterating over hashmaps) - #90100 (Skip documentation for tier 2 targets on dist-x86_64-apple-darwin) - #90155 (Fix alignment of method headings for scannability) - #90162 (Mark `{array, slice}::{from_ref, from_mut}` as const fn) - #90221 (Fix ICE when forgetting to `Box` a parameter to a `Self::func` call) - #90234 (Temporarily turn overflow checks off for rustc-rayon-core) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
-
由 Matthias Krüger 提交于
Temporarily turn overflow checks off for rustc-rayon-core The rustc fork of Rayon has deadlock detection code which intermittently causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227). So, as a workaround, we unconditionally turn overflow checks off for this crate only. This workaround should be removed once #90227 is fixed. r? `@Mark-Simulacrum` cc `@matthiaskrgr`
-
由 Matthias Krüger 提交于
Fix ICE when forgetting to `Box` a parameter to a `Self::func` call Closes #90213 . Assuming we can get the `DefId` of the receiver causes an ICE if the receiver is `Self`. We can just avoid doing this though.
-
由 Matthias Krüger 提交于
Mark `{array, slice}::{from_ref, from_mut}` as const fn This PR marks the following APIs as `const`: ```rust // core::array pub const fn from_ref<T>(s: &T) -> &[T; 1]; pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1]; // core::slice pub const fn from_ref<T>(s: &T) -> &[T]; pub const fn from_mut<T>(s: &mut T) -> &mut [T]; ``` Note that `from_ref` methods require `const_raw_ptr_deref` feature (which seems totally fine, since it's being stabilized, see #89551), `from_mut` methods require `const_mut_refs` (which seems fine too since this PR marks `from_mut` functions as const unstable). r? ````@oli-obk````
-
由 Matthias Krüger 提交于
Fix alignment of method headings for scannability We sometimes use indentation to indicate something is a heading: The section that comes after is indented by 24px relative to the heading. However, the relationship between the "Implementations" section heading, the `impl` headings it contains, and the `pub fn` subheadings within each impl, is awkward. It goes **Implementations**, 15px indent, `impl`, 5px indent, `pub fn`, 4px indent, docblock. I line up `impl` and `pub fn` with the `Implementations` heading, give `impl` a larger font size to indicate it is higher in the hierarchy, and indent the docblock a full 24px relative to their parent, matching the indents we use elsewhere to distinguish section headings. By letting the `pub fn` stick out to the left of the docblock, I think this makes methods significantly more scannable. Related to #59829 r? `````@camelid````` [Old](https://doc.rust-lang.org/nightly/std/string/struct.String.html#implementations): [![image](https://user-images.githubusercontent.com/220205/138380233-9c63a0f2-0f80-40a3-ab3d-a1ee9fb7c5d8.png)](https://doc.rust-lang.org/nightly/std/string/struct.String.html#implementations) [New](https://jacob.hoffman-andrews.com/rust/outdent-methods/std/string/struct.String.html#implementations): [![image](https://user-images.githubusercontent.com/220205/138392479-b45fce3f-bf43-42e0-81ee-c4bb9ac35cda.png)](https://jacob.hoffman-andrews.com/rust/outdent-methods/std/string/struct.String.html#implementations)
-
由 Matthias Krüger 提交于
Skip documentation for tier 2 targets on dist-x86_64-apple-darwin I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely). r? ```@pietroalbini```
-
由 Matthias Krüger 提交于
Add rustc lint, warning when iterating over hashmaps r? rust-lang/wg-incr-comp
-
由 Hans Kratz 提交于
-
由 bors 提交于
Normalize MIR with RevealAll before optimizations. Fixes #78442
-
由 bors 提交于
Specialize HashStable for [u8] slices Particularly for ctfe-stress-4, the hashing of byte slices as part of the MIR Allocation is quite hot. Previously, we were falling back on byte-by-byte copying of the slice into the SipHash buffer (64 bytes long) before hashing a 64 byte chunk, and then doing that again and again; now we use the dedicated byte-slice write.
-
由 Jakob Degen 提交于
-