-
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 7 pull requests #123991
Rollup of 7 pull requests #123991
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3cbc9e9 - Browse repository at this point
Copy the full SHA 3cbc9e9View commit details
Commits on Apr 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 651d02a - Browse repository at this point
Copy the full SHA 651d02aView commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99e88e5 - Browse repository at this point
Copy the full SHA 99e88e5View commit details -
crashes: readme: add reminder to add Fixes #abcde to prs to automatic…
…ally close issues.
Configuration menu - View commit details
-
Copy full SHA for 83d73e4 - Browse repository at this point
Copy the full SHA 83d73e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34bce07 - Browse repository at this point
Copy the full SHA 34bce07View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6f856 - Browse repository at this point
Copy the full SHA eb6f856View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba6c166 - Browse repository at this point
Copy the full SHA ba6c166View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25c0cf0 - Browse repository at this point
Copy the full SHA 25c0cf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05bb3d2 - Browse repository at this point
Copy the full SHA 05bb3d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98890be - Browse repository at this point
Copy the full SHA 98890beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 619e044 - Browse repository at this point
Copy the full SHA 619e044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d72808 - Browse repository at this point
Copy the full SHA 9d72808View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2beb6a4 - Browse repository at this point
Copy the full SHA 2beb6a4View commit details -
Rollup merge of rust-lang#123016 - compiler-errors:no-type-var-origin…
…, r=lcnr Remove `TypeVariableOriginKind` and `ConstVariableOriginKind` It's annoying to have to import `TypeVariableOriginKind` just to fill it with `MiscVariable` for almost every use. Every other usage other than `TypeParameterDefinition` wasn't even used -- I can see how it may have been useful once for debugging, but I do quite a lot of typeck debugging and I've never really needed it. So let's just remove it, and keep around the only useful thing which is the `DefId` of the param for `var_for_def`. This is based on rust-lang#123006, which removed the special use of `TypeVariableOriginKind::OpaqueInference`, which I'm pretty sure I was the one that added. r? lcnr or re-roll to types
Configuration menu - View commit details
-
Copy full SHA for 9cc26b5 - Browse repository at this point
Copy the full SHA 9cc26b5View commit details -
Rollup merge of rust-lang#123462 - fmease:rn-mod-sep-to-path-sep, r=n…
…nethercote Cleanup: Rename `ModSep` to `PathSep` `::` is usually referred to as the *path separator* (citation needed). The existing name `ModSep` for *module separator* is a bit misleading since it in fact separates the segments of arbitrary path segments, not only ones resolving to modules. Let me just give a shout-out to associated items (`T::Assoc`, `<Ty as Trait>::function`) and enum variants (`Option::None`). Motivation: Reduce friction for new contributors, prevent potential confusion. cc `@petrochenkov` r? nnethercote or compiler
Configuration menu - View commit details
-
Copy full SHA for c566599 - Browse repository at this point
Copy the full SHA c566599View commit details -
Rollup merge of rust-lang#123603 - compiler-errors:no-intrinsic, r=es…
…tebank Don't even parse an intrinsic unless the feature gate is enabled Don't return true in `tcx.is_intrinsic` if the function is defined locally and `#![feature(intrinsics)]` is not enabled. This is a slightly more general fix than rust-lang#123526, since rust-lang#123587 shows that we have simplifying assumptions about intrinsics elsewhere in the compiler. This will make the code ICE again if the user **enables** `#[feature(intrinsics)]`, but I kind of feel like if we want to fix that, we should make the `INTERNAL_FEATURES` lint `Deny` again. Perhaps we could do that on non-nightly compilers. Or we should just stop compilation altogether if they have `#![feature]` enabled on a non-nightly compiler. As for the UX of *real* cases of hitting these ICEs, I believe pretty strongly that if a compiler/stdlib dev is modifying internal intrinsics (intentionally, like when making a change to rustc) we have no guarantee to make the ICE better looking for them. Honestly, *not* spitting out a stack trace is probably a disservice to the people who hit those ICEs in that case. r? `@Nilstrieb` `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 1ad9fea - Browse repository at this point
Copy the full SHA 1ad9feaView commit details -
Rollup merge of rust-lang#123926 - compiler-errors:no-ann, r=estebank
Fix pretty HIR for anon consts in diagnostics This removes the `NoAnn` printer which skips over nested bodies altogether, which is confusing, and requires users of `{ty|qpath|pat}_to_string` to pass in `&tcx` which now impleemnts `hir_pretty::PpAnn`. There's one case where this "regresses" by actually printing out the body of the anon const -- we could suppress that, but I don't expect people to actually get anon consts like that unless they're fuzzing, tbh. r? estebank
Configuration menu - View commit details
-
Copy full SHA for 1069ad3 - Browse repository at this point
Copy the full SHA 1069ad3View commit details -
Rollup merge of rust-lang#123973 - matthiaskrgr:crashs_fix_cmt, r=fmease
crashes: readme: add reminder to add Fixes #abcde to prs to automatically close issues.
Configuration menu - View commit details
-
Copy full SHA for f0d235a - Browse repository at this point
Copy the full SHA f0d235aView commit details -
Rollup merge of rust-lang#123984 - rcvalle:rust-triagebot-add-rustc-s…
…anitizers, r=compiler-errors sanitizers: Add rustc_sanitizers to triagebot.toml
Configuration menu - View commit details
-
Copy full SHA for 445eb2e - Browse repository at this point
Copy the full SHA 445eb2eView commit details -
Rollup merge of rust-lang#123989 - compiler-errors:type-dependent-def…
…-id, r=oli-obk Just use `type_dependent_def_id` to figure out what the method is for an expr The calls to `lookup_method_for_diagnostic` are overkill. r? oli-obk
Configuration menu - View commit details
-
Copy full SHA for daa2ebc - Browse repository at this point
Copy the full SHA daa2ebcView commit details