-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 6 pull requests #121013
Rollup of 6 pull requests #121013
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24e2cf0 - Browse repository at this point
Copy the full SHA 24e2cf0View commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ddcbca - Browse repository at this point
Copy the full SHA 9ddcbcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d30eca - Browse repository at this point
Copy the full SHA 4d30ecaView commit details
Commits on Feb 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 29fd82b - Browse repository at this point
Copy the full SHA 29fd82bView commit details
Commits on Feb 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0eee945 - Browse repository at this point
Copy the full SHA 0eee945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92281c7 - Browse repository at this point
Copy the full SHA 92281c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79daf61 - Browse repository at this point
Copy the full SHA 79daf61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c70bf6 - Browse repository at this point
Copy the full SHA 6c70bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09fd556 - Browse repository at this point
Copy the full SHA 09fd556View commit details -
support adding const generic params to intrinsics
but right now all of them have zero const generic params
Configuration menu - View commit details
-
Copy full SHA for 0dac617 - Browse repository at this point
Copy the full SHA 0dac617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 531505f - Browse repository at this point
Copy the full SHA 531505fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8549c0a - Browse repository at this point
Copy the full SHA 8549c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55200e7 - Browse repository at this point
Copy the full SHA 55200e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 432635a - Browse repository at this point
Copy the full SHA 432635aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a07437 - Browse repository at this point
Copy the full SHA 9a07437View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b73fe2 - Browse repository at this point
Copy the full SHA 6b73fe2View commit details -
Support safe intrinsics with fallback bodies
Turn `is_val_statically_known` into such an intrinsic to demonstrate. It is perfectly safe to call after all.
Configuration menu - View commit details
-
Copy full SHA for f35a2bd - Browse repository at this point
Copy the full SHA f35a2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 164b9c3 - Browse repository at this point
Copy the full SHA 164b9c3View commit details -
The check within changed from `delay_span_bug` to `delay_good_path_bug` in rust-lang#110476, and removing the check altogether was considered. It's a very weak sanity check and gets in the way of removing good path delayed bugs altogether, so this PR just removes it.
Configuration menu - View commit details
-
Copy full SHA for 173dbc9 - Browse repository at this point
Copy the full SHA 173dbc9View commit details -
It's only has a single remaining purpose: to ensure that a diagnostic is printed when `trimmed_def_paths` is used. It's an annoying mechanism: weak, with odd semantics, badly named, and gets in the way of other changes. This commit replaces it with a simpler `must_produce_diag` mechanism, getting rid of a diagnostic `Level` along the way.
Configuration menu - View commit details
-
Copy full SHA for 9f2aa09 - Browse repository at this point
Copy the full SHA 9f2aa09View commit details
Commits on Feb 13, 2024
-
Rollup merge of rust-lang#120486 - reitermarkus:use-generic-nonzero, …
…r=dtolnay Use generic `NonZero` internally. Tracking issue: rust-lang#120257
Configuration menu - View commit details
-
Copy full SHA for a56b3bc - Browse repository at this point
Copy the full SHA a56b3bcView commit details -
Rollup merge of rust-lang#120500 - oli-obk:intrinsics2.0, r=WaffleLapkin
Implement intrinsics with fallback bodies fixes rust-lang#93145 (though we can port many more intrinsics) cc rust-lang#63585 The way this works is that the backend logic for generating custom code for intrinsics has been made fallible. The only failure path is "this intrinsic is unknown". The `Instance` (that was `InstanceDef::Intrinsic`) then gets converted to `InstanceDef::Item`, which represents the fallback body. A regular function call to that body is then codegenned. This is currently implemented for * codegen_ssa (so llvm and gcc) * codegen_cranelift other backends will need to adjust, but they can just keep doing what they were doing if they prefer (though adding new intrinsics to the compiler will then require them to implement them, instead of getting the fallback body). cc ``@scottmcm`` ``@WaffleLapkin`` ### todo * [ ] miri support * [x] default intrinsic name to name of function instead of requiring it to be specified in attribute * [x] make sure that the bodies are always available (must be collected for metadata)
Configuration menu - View commit details
-
Copy full SHA for 202ef69 - Browse repository at this point
Copy the full SHA 202ef69View commit details -
Rollup merge of rust-lang#120530 - trevyn:issue-116434, r=compiler-er…
…rors Be less confident when `dyn` suggestion is not checked for object safety rust-lang#120275 no longer checks bare traits for object safety when making a `dyn` suggestion on Rust < 2021. In this case, qualify the suggestion with a note that the trait must be object safe, to prevent user confusion as seen in rust-lang#116434 r? ``@fmease``
Configuration menu - View commit details
-
Copy full SHA for bd61391 - Browse repository at this point
Copy the full SHA bd61391View commit details -
Rollup merge of rust-lang#120563 - reitermarkus:generic-nonzero-get, …
…r=dtolnay Make `NonZero::get` generic. Tracking issue: rust-lang#120257 Depends on rust-lang#120521. r? ``@dtolnay``
Configuration menu - View commit details
-
Copy full SHA for 743f52f - Browse repository at this point
Copy the full SHA 743f52fView commit details -
Rollup merge of rust-lang#120847 - oli-obk:track_errors9, r=compiler-…
…errors Continue compilation after check_mod_type_wf errors The ICEs fixed here were probably reachable through const eval gymnastics before, but now they are easily reachable without that, too. The new errors are often bugfixes, where useful errors were missing, because they were reported after the early abort. In other cases sometimes they are just duplication of already emitted errors, which won't be user-visible due to deduplication. fixes rust-lang#120860
Configuration menu - View commit details
-
Copy full SHA for 307c1b2 - Browse repository at this point
Copy the full SHA 307c1b2View commit details -
Rollup merge of rust-lang#120959 - nnethercote:rm-good_path, r=oli-obk
Remove good path delayed bugs Because they're not that useful, and kind of annoying. Details in the individual commits. r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 56f78e0 - Browse repository at this point
Copy the full SHA 56f78e0View commit details