Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8bbc080
Added `Clone` implementation for `ChunkBy`
nwoods-cimpress Mar 4, 2025
e48617f
Changing #[stable] tag
nwoods-cimpress Mar 6, 2025
c0851d7
Update ABI compatibility docs about null-pointer-optimized enums.
zachs18 Jun 3, 2025
2cfd494
docs: autogenerate compiler flag stubs based on -Zhelp
rmehri01 Jun 7, 2025
959d6de
refactor `AttributeGate` and `rustc_attr!` to emit notes during feat…
mejrs May 18, 2025
81eb182
Remove rustc_feature::Stability
mejrs Jun 6, 2025
70f78fb
Add test for flailing diagnostic spans
mejrs May 23, 2025
7161906
rustc_parse_format: introduce `peek` and `peek_ahead`
mejrs May 23, 2025
d3137d9
Move the "missing closing brace" error creation to one place
mejrs May 23, 2025
cf3af23
refactor matching and if let chains
mejrs May 23, 2025
b68c06b
implement Default for FormatSpec
mejrs May 23, 2025
f002aba
change FormatString::parse to only return the first error
mejrs May 23, 2025
c7174a7
rename Parser's lifetime to `'input`
mejrs May 23, 2025
03c846e
Introduce ParseMode::diagnostic and fix multiline spans
mejrs May 24, 2025
ba1c650
Add ParseMode::Diagnostic unit tests
mejrs Jun 9, 2025
2095211
core docs: improve clarity of considerations about atomic CAS operations
fu5ha Jun 10, 2025
2a10f12
miri: add flag to suppress float non-determinism
RalfJung Jun 11, 2025
86493f7
compiler: Avoid reporting unsupported_calling_conventions in deps
workingjubilee Jun 11, 2025
8f0c09a
tests: Bless for weaker unsupported_calling_conventions
workingjubilee Jun 11, 2025
22de67f
add `extern "custom"` functions
folkertdev May 7, 2025
93cc627
Rollup merge of #138016 - nwoods-cimpress:slice_chunkby_clone, r=dtolnay
matthiaskrgr Jun 12, 2025
a57ab6e
Rollup merge of #140770 - folkertdev:custom-abi, r=tgross35
matthiaskrgr Jun 12, 2025
f2024e2
Rollup merge of #141162 - mejrs:gated, r=fee1-dead
matthiaskrgr Jun 12, 2025
92b0dc5
Rollup merge of #141474 - mejrs:diagnostic_mode, r=compiler-errors
matthiaskrgr Jun 12, 2025
15a3fe2
Rollup merge of #141947 - zachs18:patch-4, r=workingjubilee,traviscross
matthiaskrgr Jun 12, 2025
ac07e1b
Rollup merge of #142135 - rmehri01:gen-compiler-flags, r=compiler-errors
matthiaskrgr Jun 12, 2025
1cc48f8
Rollup merge of #142252 - fu5ha:doc-cas-ops, r=ibraheemdev
matthiaskrgr Jun 12, 2025
729573a
Rollup merge of #142337 - RalfJung:miri-float-nondet, r=oli-obk
matthiaskrgr Jun 12, 2025
a41153f
Rollup merge of #142353 - workingjubilee:warn-less-about-cdecl-and-ot…
matthiaskrgr Jun 12, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions library/core/src/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1847,6 +1847,8 @@ mod prim_ref {}
/// - If `T` is guaranteed to be subject to the [null pointer
/// optimization](option/index.html#representation), and `E` is an enum satisfying the following
/// requirements, then `T` and `E` are ABI-compatible. Such an enum `E` is called "option-like".
/// - The enum `E` uses the [`Rust` representation], and is not modified by the `align` or
/// `packed` representation modifiers.
/// - The enum `E` has exactly two variants.
/// - One variant has exactly one field, of type `T`.
/// - All fields of the other variant are zero-sized with 1-byte alignment.
Expand Down Expand Up @@ -1920,6 +1922,7 @@ mod prim_ref {}
/// [`Pointer`]: fmt::Pointer
/// [`UnwindSafe`]: panic::UnwindSafe
/// [`RefUnwindSafe`]: panic::RefUnwindSafe
/// [`Rust` representation]: <https://doc.rust-lang.org/reference/type-layout.html#the-rust-representation>
///
/// In addition, all *safe* function pointers implement [`Fn`], [`FnMut`], and [`FnOnce`], because
/// these traits are specially known to the compiler.
Expand Down