-
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 11 pull requests #109496
Rollup of 11 pull requests #109496
Commits on Oct 6, 2022
-
Rename LinesAnyMap to LinesMap
lines_any method was replaced with lines method, so it makes sense to rename this structure to match new name. Co-authored-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 0d8a0c5 - Browse repository at this point
Copy the full SHA 0d8a0c5View commit details -
Fix handling of trailing bare CR in str::lines
Previously "bare\r" was split into ["bare"] even though the documentation said that only LF and CRLF count as newlines. This fix is a behavioural change, even though it brings the behaviour into line with the documentation, and into line with that of `std::io::BufRead::lines()`. This is an alternative to rust-lang#91051, which proposes to document rather than fix the behaviour. Fixes rust-lang#94435. Co-authored-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for cef81dc - Browse repository at this point
Copy the full SHA cef81dcView commit details
Commits on Mar 16, 2023
-
Render source page layout with Askama
Co-authored-by: Michael Howell <michael@notriddle.com>
Configuration menu - View commit details
-
Copy full SHA for 102c8fa - Browse repository at this point
Copy the full SHA 102c8faView commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6639538 - Browse repository at this point
Copy the full SHA 6639538View commit details
Commits on Mar 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 27e9ee9 - Browse repository at this point
Copy the full SHA 27e9ee9View commit details -
refactor
fn bootstrap::builder::Builder::compiler_for
- check compiler stage before forcing for stage2. - check if download_rustc is not set before forcing for stage1. Signed-off-by: ozkanonur <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 2ec7f6c - Browse repository at this point
Copy the full SHA 2ec7f6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 572c56c - Browse repository at this point
Copy the full SHA 572c56cView commit details
Commits on Mar 21, 2023
-
Add a layout argument to
enforce_validity
.This is in preparation of checking the validity only of certain types.
Configuration menu - View commit details
-
Copy full SHA for 83dec62 - Browse repository at this point
Copy the full SHA 83dec62View commit details -
Configuration menu - View commit details
-
Copy full SHA for f066d67 - Browse repository at this point
Copy the full SHA f066d67View commit details -
rustdoc: Cleanup parent module tracking for doc links
Keep ids of the documented items themselves, not their parent modules. Parent modules can be retreived from those ids when necessary.
Configuration menu - View commit details
-
Copy full SHA for d3a5541 - Browse repository at this point
Copy the full SHA d3a5541View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f45d85 - Browse repository at this point
Copy the full SHA 0f45d85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4212c1b - Browse repository at this point
Copy the full SHA 4212c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 364a5d4 - Browse repository at this point
Copy the full SHA 364a5d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f3529 - Browse repository at this point
Copy the full SHA c1f3529View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e6f68 - Browse repository at this point
Copy the full SHA c3e6f68View commit details
Commits on Mar 22, 2023
-
Change text -> rust,ignore highlighting in sanitizer.md
Marked ignore due to difficulty getting doctests to pass cross-platform
Configuration menu - View commit details
-
Copy full SHA for df034b0 - Browse repository at this point
Copy the full SHA df034b0View commit details -
Rollup merge of rust-lang#100311 - xfix:lines-fix-handling-of-bare-cr…
…, r=ChrisDenton Fix handling of trailing bare CR in str::lines Continuing from rust-lang#91191. Fixes rust-lang#94435.
Configuration menu - View commit details
-
Copy full SHA for d694f47 - Browse repository at this point
Copy the full SHA d694f47View commit details -
Rollup merge of rust-lang#108997 - tgross35:patch-1, r=JohnTitor
Change text -> rust highlighting in sanitizer.md Not sure why this has syntax highlighting turned off, but it doesn't need to be Relevant page: https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
Configuration menu - View commit details
-
Copy full SHA for 59d9cbf - Browse repository at this point
Copy the full SHA 59d9cbfView commit details -
Rollup merge of rust-lang#109179 - llogiq:intrinsically-option-as-sli…
…ce, r=eholk move Option::as_slice to intrinsic ````@scottmcm```` suggested on rust-lang#109095 I use a direct approach of unpacking the operation in MIR lowering, so here's the implementation. cc ````@nikic```` as this should hopefully unblock rust-lang#107224 (though perhaps other changes to the prior implementation, which I left for bootstrapping, are needed).
Configuration menu - View commit details
-
Copy full SHA for 14d0646 - Browse repository at this point
Copy the full SHA 14d0646View commit details -
Rollup merge of rust-lang#109187 - clubby789:askama-source, r=Guillau…
…meGomez Render source page layout with Askama ~~I was looking at making `code_html` render into the buffer instead of in advance, but it turned out to need a pretty big refactor, so starting with rearranging the high-level layout.~~ Found another approach which required much less changes cc rust-lang#108868
Configuration menu - View commit details
-
Copy full SHA for d8543ab - Browse repository at this point
Copy the full SHA d8543abView commit details -
Rollup merge of rust-lang#109280 - compiler-errors:no-vec-map, r=Mark…
…-Simulacrum Remove `VecMap` Not sure what the use of this data structure is over just using `FxIndexMap` or a `Vec`. r? ```@ghost```
Configuration menu - View commit details
-
Copy full SHA for 70918ec - Browse repository at this point
Copy the full SHA 70918ecView commit details -
Rollup merge of rust-lang#109295 - ozkanonur:issue-109286, r=ozkanonur
refactor `fn bootstrap::builder::Builder::compiler_for` logic - check compiler stage before forcing for stage2. - check if download_rustc is not set before forcing for stage1. resolves rust-lang#109286
Configuration menu - View commit details
-
Copy full SHA for 7a57d88 - Browse repository at this point
Copy the full SHA 7a57d88View commit details -
Rollup merge of rust-lang#109312 - petrochenkov:docice5, r=GuillaumeG…
…omez rustdoc: Cleanup parent module tracking for doc links Keep ids of the documented items themselves, not their parent modules. Parent modules can be retreived from those ids when necessary. Fixes rust-lang#108501. That issue could be fixed in a more local way, but this refactoring is something that I wanted to do since rust-lang#93805 anyway.
Configuration menu - View commit details
-
Copy full SHA for af3bd22 - Browse repository at this point
Copy the full SHA af3bd22View commit details -
Rollup merge of rust-lang#109317 - ehuss:discriminant-link-fix, r=Nil…
…strieb Update links for custom discriminants. The discriminant documentation was updated in rust-lang/reference#1055 which changed the layout a bit. This updates the links to the updated locations.
Configuration menu - View commit details
-
Copy full SHA for 8ce52b7 - Browse repository at this point
Copy the full SHA 8ce52b7View commit details -
Rollup merge of rust-lang#109405 - compiler-errors:rpitit-as-opaques,…
… r=spastorino RPITITs are `DefKind::Opaque` with new lowering strategy r? `@spastorino` Kinda cherry-picked rust-lang#109400
Configuration menu - View commit details
-
Copy full SHA for b9151b2 - Browse repository at this point
Copy the full SHA b9151b2View commit details -
Rollup merge of rust-lang#109414 - spastorino:new-rpitit-16, r=compil…
…er-errors Do not consider synthesized RPITITs on missing items checks Without this patch for `tests/ui/impl-trait/in-trait/dont-project-to-rpitit-with-no-value.rs` we get ... ``` warning: the feature `return_position_impl_trait_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes --> tests/ui/impl-trait/in-trait/dont-project-to-rpitit-with-no-value.rs:4:12 | 4 | #![feature(return_position_impl_trait_in_trait)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue rust-lang#91611 <rust-lang#91611> for more information = note: `#[warn(incomplete_features)]` on by default error[E0046]: not all trait items implemented, missing: `foo`, `` --> tests/ui/impl-trait/in-trait/dont-project-to-rpitit-with-no-value.rs:12:1 | 8 | fn foo(&self) -> impl Sized; | ---------------------------- | | | | | `` from trait | `foo` from trait ... 12 | impl MyTrait for i32 { | ^^^^^^^^^^^^^^^^^^^^ missing `foo`, `` in implementation error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0046`. ``` instead of ... ``` warning: the feature `return_position_impl_trait_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/dont-project-to-rpitit-with-no-value.rs:4:12 | LL | #![feature(return_position_impl_trait_in_trait)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue rust-lang#91611 <rust-lang#91611> for more information = note: `#[warn(incomplete_features)]` on by default error[E0046]: not all trait items implemented, missing: `foo` --> $DIR/dont-project-to-rpitit-with-no-value.rs:12:1 | LL | fn foo(&self) -> impl Sized; | ---------------------------- `foo` from trait ... LL | impl MyTrait for i32 { | ^^^^^^^^^^^^^^^^^^^^ missing `foo` in implementation error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0046`. ``` r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 031640c - Browse repository at this point
Copy the full SHA 031640cView commit details -
Rollup merge of rust-lang#109435 - oli-obk:🇨🇭🥚_copy_op, r=RalfJung
Detect uninhabited types early in const eval r? `@RalfJung` implements rust-lang#108442 (comment) this is a breaking change, as some UB during const eval is now detected instead of silently being ignored. Users can see this and other UB that may cause future breakage with `-Zextra-const-ub-checks` or just by running miri on their code, which sets that flag by default.
Configuration menu - View commit details
-
Copy full SHA for eda88a3 - Browse repository at this point
Copy the full SHA eda88a3View commit details