Skip to content

Rollup of 7 pull requests #118679

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

Merged
merged 20 commits into from
Dec 6, 2023
Merged
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c7d8c65
docs: clarify explicitly freeing heap allocated memory
0xalpharush Nov 4, 2023
efaf425
Add Variant and a few more APIs to stable_mir
celinval Dec 1, 2023
e19c7cd
Finish implementing `RustcInternal` for `TyKind`
celinval Dec 1, 2023
1720b10
Add FieldDef to StableMIR and methods to get type
celinval Dec 5, 2023
1a7b610
Add riscv32 imafc bare metal target
MabezDev Nov 13, 2023
68ea621
add comment about keeping flags in sync between bootstrap.py and boot…
RalfJung Dec 5, 2023
326fea0
Change ty_with_args to return Ty instead of Result
celinval Dec 5, 2023
6c3879d
Provide context when `?` can't be called because of `Result<_, E>`
estebank Oct 6, 2023
5381796
Point at fewer methods in the chain, only those that change the E type
estebank Oct 7, 2023
98e5317
Detect incorrect `;` in `Option::ok_or_else` and `Result::map_err`
estebank Oct 7, 2023
70fe624
Reduce verbosity of error
estebank Oct 7, 2023
dc0f7a1
docs: remove #110800 from release notes
notriddle Dec 6, 2023
7ff9648
library: fix comment about const assert in win api
klensy Dec 6, 2023
f1e1804
Rollup merge of #116496 - estebank:question-method-chain-context, r=c…
matthiaskrgr Dec 6, 2023
49d6594
Rollup merge of #117563 - 0xalpharush:docs/into-raw, r=workingjubilee
matthiaskrgr Dec 6, 2023
df6bc93
Rollup merge of #117874 - esp-rs:riscv3264imafc-unknown-none-elf, r=d…
matthiaskrgr Dec 6, 2023
67d8999
Rollup merge of #118516 - celinval:smir-variants, r=ouz-a
matthiaskrgr Dec 6, 2023
756bc44
Rollup merge of #118650 - RalfJung:flags-sync, r=clubby789
matthiaskrgr Dec 6, 2023
95efc0d
Rollup merge of #118664 - notriddle:master, r=Mark-Simulacrum
matthiaskrgr Dec 6, 2023
2f71a44
Rollup merge of #118669 - klensy:comment-fix, r=workingjubilee
matthiaskrgr Dec 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/std/src/sys/windows/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use super::c;
/// converted to a `u32`. Clippy would warn about this but, alas, it's not run
/// on the standard library.
const fn win32_size_of<T: Sized>() -> u32 {
// Const assert that the size is less than u32::MAX.
// Const assert that the size does not exceed u32::MAX.
// Uses a trait to workaround restriction on using generic types in inner items.
trait Win32SizeOf: Sized {
const WIN32_SIZE_OF: u32 = {
Expand Down