-
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 8 pull requests #122041
Rollup of 8 pull requests #122041
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a5245ef - Browse repository at this point
Copy the full SHA a5245efView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ca9b1 - Browse repository at this point
Copy the full SHA a0ca9b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c963fc - Browse repository at this point
Copy the full SHA 9c963fcView commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89954e5 - Browse repository at this point
Copy the full SHA 89954e5View commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6e9f59f - Browse repository at this point
Copy the full SHA 6e9f59fView commit details -
hir_analysis: enums return
None
infind_field
Unnamed union fields with enums are checked for, but if `find_field` causes an ICE then the compiler won't get to that point. Signed-off-by: David Wood <david@davidtw.co>
Configuration menu - View commit details
-
Copy full SHA for 4e03c51 - Browse repository at this point
Copy the full SHA 4e03c51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 640e99c - Browse repository at this point
Copy the full SHA 640e99cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e6e140 - Browse repository at this point
Copy the full SHA 5e6e140View commit details
Commits on Mar 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 523ab25 - Browse repository at this point
Copy the full SHA 523ab25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d9b26b - Browse repository at this point
Copy the full SHA 9d9b26bView commit details -
errors: share
SilentEmitter
between rustc and rustfmtSigned-off-by: David Wood <david@davidtw.co>
Configuration menu - View commit details
-
Copy full SHA for 2ee0409 - Browse repository at this point
Copy the full SHA 2ee0409View commit details -
Merge
impl_trait_in_assoc_types_defined_by
query back into `opaque_……types_defined_by` Instead, when we're collecting opaques for associated items, we choose the right collection mode depending on whether we're collecting for an associated item of a trait impl or not.
Configuration menu - View commit details
-
Copy full SHA for da35734 - Browse repository at this point
Copy the full SHA da35734View commit details -
Rollup merge of rust-lang#121202 - Urgau:check-cfg-limit-diagnostics,…
… r=pnkfelix Limit the number of names and values in check-cfg diagnostics The Rust for Linux [feedback](rust-lang#82450 (comment)) to the check-cfg Call for Testing, revealed a weakness in the check-cfg. They are unbounded and in the case RfL they have ~20k cfgs and having them printed (even once) is unbearable. This PR limits it to 35 (28 rustc well known + `feature` + `docsrs` + 5 custom) which feels like a good middle ground for regular users (i.e. Cargo users). When it goes over that limit print the N first with " and X more". ``@rustbot`` label +F-check-cfg
Configuration menu - View commit details
-
Copy full SHA for 640648b - Browse repository at this point
Copy the full SHA 640648bView commit details -
Rollup merge of rust-lang#121301 - davidtwco:rustfmt-silent-emitter, …
…r=pnkfelix errors: share `SilentEmitter` between rustc and rustfmt Fixes rust-lang/rustfmt#6082. Shares the `SilentEmitter` between rustc and rustfmt, and gives it a fallback bundle (since it can emit diagnostics in some contexts).
Configuration menu - View commit details
-
Copy full SHA for 9153451 - Browse repository at this point
Copy the full SHA 9153451View commit details -
Rollup merge of rust-lang#121658 - jieyouxu:ice-outdated-nightly, r=o…
…li-obk Hint user to update nightly on ICEs produced from outdated nightly This is a conservative best-effort approach to detect a potentially outdated nightly; it will fallback to the regular ICE-reporting if any of the following cases are true: - Channel is not nightly - Version information is not available - Version date is not parseable as a YYYY-MM-DD or is missing - System time is at least 36 hours ahead of the user's nightly release datetime. - Any internal features are used. Note that I'm not sure how to make a test for this: I tested this manually by `CFG_VER_DATE="2020-02-02" ./x build library --stage 1`, and also changing the channel detection in `rustc_driver_impl` from `Some("nightly")` to `Some("nightly" | "dev")`, and then running `rustc +stage1 test.rs -Ztreat-err-as-bug=1` with a non-existent `test.rs`. <img width="1145" alt="Screenshot 2024-02-27 at 01 12 28" src="https://github.com/rust-lang/rust/assets/39484203/eff6af2e-4b19-4a70-af57-cd739ecf0e84"> Closes rust-lang#118832.
Configuration menu - View commit details
-
Copy full SHA for 1b30268 - Browse repository at this point
Copy the full SHA 1b30268View commit details -
Rollup merge of rust-lang#121846 - bvanjoi:fix-121760, r=petrochenkov
only compare ambiguity item that have hard error Fixes rust-lang#121760 An easy fix, r? ``@petrochenkov``
Configuration menu - View commit details
-
Copy full SHA for 152b690 - Browse repository at this point
Copy the full SHA 152b690View commit details -
Rollup merge of rust-lang#121961 - surechen:add_test_20240304, r=petr…
…ochenkov add test for rust-lang#78894 rust-lang#71450 fixes rust-lang#78894 fixes rust-lang#71450
Configuration menu - View commit details
-
Copy full SHA for 5cdf870 - Browse repository at this point
Copy the full SHA 5cdf870View commit details -
Rollup merge of rust-lang#121975 - davidtwco:issue-121757, r=petroche…
…nkov hir_analysis: enums return `None` in `find_field` Fixes rust-lang#121757. Unnamed union fields with enums are checked for, but if `find_field` causes an ICE then the compiler won't get to that point.
Configuration menu - View commit details
-
Copy full SHA for f560806 - Browse repository at this point
Copy the full SHA f560806View commit details -
Rollup merge of rust-lang#121978 - GuillaumeGomez:dylib-duplicated-pa…
…th, r=bjorn3 Fix duplicated path in the "not found dylib" error While working on the gcc backend, I couldn't figure out why I had this error: ``` error: couldn't load codegen backend /checkout/compiler/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so/checkout/compiler/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so: cannot open shared object file: No such file or directory ``` As you can see, the path is duplicated for some reason. After investigating a bit more, I realized that `libloading::Error::LoadLibraryExW` starts with the path of the not found dylib, making it appear twice in our error afterward (because we do render it like this: `{path}{err}`, and since the `err` starts with the path...). Thanks to `````@bjorn3````` for linking me to rust-lang#121392. :)
Configuration menu - View commit details
-
Copy full SHA for f5ff6d5 - Browse repository at this point
Copy the full SHA f5ff6d5View commit details -
Rollup merge of rust-lang#121991 - oli-obk:merge_opaque_types_defined…
…_by_queries, r=compiler-errors Merge impl_trait_in_assoc_types_defined_by query back into `opaque_types_defined_by` Instead, when we're collecting opaques for associated items, we choose the right collection mode depending on whether we're collecting for an associated item of a trait impl or not. r? ```@compiler-errors``` follow up to rust-lang#121838
Configuration menu - View commit details
-
Copy full SHA for 3d6b3d0 - Browse repository at this point
Copy the full SHA 3d6b3d0View commit details