-
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 9 pull requests #122040
Rollup of 9 pull requests #122040
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 be0398d - Browse repository at this point
Copy the full SHA be0398dView 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 8aa21bd - Browse repository at this point
Copy the full SHA 8aa21bdView 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 d7f88cb - Browse repository at this point
Copy the full SHA d7f88cbView 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 27a74bd - Browse repository at this point
Copy the full SHA 27a74bdView 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 1a9cd25 - Browse repository at this point
Copy the full SHA 1a9cd25View 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 81970fd - Browse repository at this point
Copy the full SHA 81970fdView 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 07dadc5 - Browse repository at this point
Copy the full SHA 07dadc5View 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 4614ab7 - Browse repository at this point
Copy the full SHA 4614ab7View commit details -
Rollup merge of rust-lang#121885 - reitermarkus:generic-nonzero-inner…
…, r=oli-obk Move generic `NonZero` `rustc_layout_scalar_valid_range_start` attribute to inner type. Tracking issue: rust-lang#120257 r? `@dtolnay`
Configuration menu - View commit details
-
Copy full SHA for 399aca3 - Browse repository at this point
Copy the full SHA 399aca3View commit details
Commits on Mar 8, 2024
-
Move generic
NonZero
rustc_layout_scalar_valid_range_start
attrib……ute to inner type.
Configuration menu - View commit details
-
Copy full SHA for 276f399 - Browse repository at this point
Copy the full SHA 276f399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59794f7 - Browse repository at this point
Copy the full SHA 59794f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42309b4 - Browse repository at this point
Copy the full SHA 42309b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58eb80 - Browse repository at this point
Copy the full SHA a58eb80View commit details