-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 10 pull requests #127533
Rollup of 10 pull requests #127533
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d45cdb - Browse repository at this point
Copy the full SHA 2d45cdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b961660 - Browse repository at this point
Copy the full SHA b961660View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 90cbd0b - Browse repository at this point
Copy the full SHA 90cbd0bView commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 321eba5 - Browse repository at this point
Copy the full SHA 321eba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec662e7 - Browse repository at this point
Copy the full SHA ec662e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a7916 - Browse repository at this point
Copy the full SHA 96a7916View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7097dbc - Browse repository at this point
Copy the full SHA 7097dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e38109d - Browse repository at this point
Copy the full SHA e38109dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd9a925 - Browse repository at this point
Copy the full SHA fd9a925View commit details -
Configuration menu - View commit details
-
Copy full SHA for aece064 - Browse repository at this point
Copy the full SHA aece064View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd175fe - Browse repository at this point
Copy the full SHA dd175feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7af825f - Browse repository at this point
Copy the full SHA 7af825fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd68a28 - Browse repository at this point
Copy the full SHA cd68a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbff80 - Browse repository at this point
Copy the full SHA bbbff80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4700b5b - Browse repository at this point
Copy the full SHA 4700b5bView commit details -
This is adding a migration lint for the current (in the 2021 edition and previous) to move expr to expr_2021 from expr Co-Developed-by: Eric Holk Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 25637e2 - Browse repository at this point
Copy the full SHA 25637e2View commit details -
Co-Developed-by: Eric Holk Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 568e78f - Browse repository at this point
Copy the full SHA 568e78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfac6fa - Browse repository at this point
Copy the full SHA dfac6faView commit details -
Rollup merge of rust-lang#124339 - oli-obk:supports_feature, r=wesley…
…wiser allow overwriting the output of `rustc --version` Our wonderful bisection folk [have to work around](rust-lang#123276 (comment)) crates that do incomplete nightly/feature detection, as otherwise the bisection just points to where the feature detection breaks, and not to the actual breakage they are looking for. This is also annoying behaviour to nightly users who did not opt-in to those nightly features. Most nightly users want to be in control of the nightly breakage they get, by * choosing when to update rustc * choosing when to update dependencies * choosing which nightly features they are willing to take the breakage for The reason this breakage occurs is that the build script of some crates run `rustc --version`, and if the version looks like nightly or dev, it will enable nightly features. These nightly features may break in random ways whenever we change something in nightly, so every release of such a crate will only work with a small range of nightly releases. This causes bisection to fail whenever it tries an unsupported nightly, even though that crate is not related to the bisection at all, but is just an unrelated dependency. This PR (and the policy I want to establish with this FCP) is only for situations like the `version_check`'s `supports_feature` function. It is explicitly not for `autocfg` or similar feature-detection-by-building-rust-code, irrespective of my opinions on it and the similarity of nightly breakage that can occur with such schemes. These cause much less breakage, but should the breakage become an issue, they should get covered by this policy, too. This PR allows changing the version and release strings reported by `rustc --version` via the `RUSTC_FORCE_RUSTC_VERSION` env var. The bisection issue is then fixed by rust-lang/cargo-bisect-rustc#335. I mainly want to establish a compiler team policy: > We do not consider feature detection on nightly (on stable via compiler version numbering is fine) a valid use case that we need to support, and if it causes problems, we are at liberty to do what we deem best - either actively working to prevent it or to actively ignore it. We may try to work with responsive and cooperative authors, but are not obligated to. Should they subvert the workarounds that nightly users or cargo-bisect-rustc can use, we should be able to land rustc PRs that target the specific crates that cause issues for us and outright replace their build script's logic to disable nightly detection. I am not including links to crates, PRs or issues here, as I don't actually care about the specific use cases and don't want to make it trivial to go there and leave comments. This discussion is going to be interesting enough on its own, without branching out.
Configuration menu - View commit details
-
Copy full SHA for 4d44291 - Browse repository at this point
Copy the full SHA 4d44291View commit details -
Rollup merge of rust-lang#125627 - vincenzopalazzo:macros/cargo-fix-e…
…xpr2024, r=compiler-errors,eholk migration lint for `expr2024` for the edition 2024 This is adding a migration lint for the current (in the 2021 edition and previous) to move expr to expr_2021 from expr Issue rust-lang#123742 I created also a repository to test out the migration https://github.com/vincenzopalazzo/expr2024-cargo-fix-migration Co-Developed-by: `@eholk`
Configuration menu - View commit details
-
Copy full SHA for 9fc9f13 - Browse repository at this point
Copy the full SHA 9fc9f13View commit details -
Rollup merge of rust-lang#127091 - Sky9x:fused-error-sources-iter, r=…
…dtolnay impl FusedIterator and a size hint for the error sources iter cc tracking issue rust-lang#58520
Configuration menu - View commit details
-
Copy full SHA for 82bd4a8 - Browse repository at this point
Copy the full SHA 82bd4a8View commit details -
Rollup merge of rust-lang#127358 - oli-obk:taint_itemctxt, r=fmease
Automatically taint when reporting errors from ItemCtxt This isn't very robust yet, as you need to use `itemctxt.dcx()` instead of `tcx.dcx()` for it to take effect, but it's at least more convenient than sprinkling `set_tainted_by_errors` calls in individual places. based on rust-lang#127357 r? ````@fmease````
Configuration menu - View commit details
-
Copy full SHA for 503268e - Browse repository at this point
Copy the full SHA 503268eView commit details -
Rollup merge of rust-lang#127484 - ShE3py:rustdoc-doc-alias-whitespac…
…e-doc, r=fmease `#[doc(alias)]`'s doc: say that ASCII spaces are allowed PR rust-lang#77570 allowed ASCII spaces in doc aliases, but the documentation wasn't updated to say so. The code checking the aliases: https://github.com/rust-lang/rust/blob/7fdefb804ec300fb605039522a7c0dfc9e7dc366/compiler/rustc_passes/src/check_attr.rs#L693-L704 ````@rustbot```` label +A-docs
Configuration menu - View commit details
-
Copy full SHA for 615f5a3 - Browse repository at this point
Copy the full SHA 615f5a3View commit details -
Rollup merge of rust-lang#127495 - compiler-errors:more-trait-error-r…
…eworking, r=lcnr More trait error reworking More work on rust-lang#127492, specifically those sub-bullets under "Move trait error reporting to `error_reporting::traits`". Stacked on top of rust-lang#127493. This does introduce new `TypeErrCtxt.*Ext` traits, but those will be deleted soon. Splitting this work into bite-sized pieces is the only way that it's gonna be feasible to both author and review ❤️ r? lcnr
Configuration menu - View commit details
-
Copy full SHA for 9dcac1c - Browse repository at this point
Copy the full SHA 9dcac1cView commit details -
Rollup merge of rust-lang#127496 - tgross35:f16-f128-pattern-fixme, r…
…=Nadrieril Update `f16`/`f128` FIXMEs that needed `(NEG_)INFINITY` Just a small fix to the pattern matching tests now that we can. Also contains a small unrelated comment tweak.
Configuration menu - View commit details
-
Copy full SHA for 056bac8 - Browse repository at this point
Copy the full SHA 056bac8View commit details -
Rollup merge of rust-lang#127508 - lcnr:search-graph-prep, r=compiler…
…-errors small search graph refactor small improvements which shouldn't impact behavior. r? ````@compiler-errors````
Configuration menu - View commit details
-
Copy full SHA for 7320313 - Browse repository at this point
Copy the full SHA 7320313View commit details -
Rollup merge of rust-lang#127521 - spastorino:remove-myself-from-smir…
…-pings, r=lqd Remove spastorino from SMIR r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 998f4f4 - Browse repository at this point
Copy the full SHA 998f4f4View commit details -
Rollup merge of rust-lang#127532 - simonLeary42:patch-1, r=Nilstrieb
documentation: update cmake version Previously discussed here: rust-lang#127531
Configuration menu - View commit details
-
Copy full SHA for 53aae31 - Browse repository at this point
Copy the full SHA 53aae31View commit details