rust/library
Guillaume Gomez c43a9ea146
Rollup merge of #130692 - RalfJung:result-flatten, r=Noratrieb
make unstable Result::flatten a const fn

This method is still unstable (tracked at https://github.com/rust-lang/rust/issues/70142), but there's no reason I can see for it not to be const -- after all, `Option::flatten` is const. So let's make the `Result` one `const` as well, under the same feature gate.

Cc https://github.com/rust-lang/rust/issues/70142
2024-09-22 19:19:16 +02:00
..
alloc Rollup merge of #130408 - okaneco:into_lossy_refactor, r=Noratrieb 2024-09-21 15:18:56 -04:00
backtrace@230570f2da Try latest backtrace 2024-08-29 12:13:19 -07:00
core Rollup merge of #130692 - RalfJung:result-flatten, r=Noratrieb 2024-09-22 19:19:16 +02:00
panic_abort step cfg(bootstrap) 2024-07-28 14:46:29 -04:00
panic_unwind Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
portable-simd simd_shuffle: require index argument to be a vector 2024-09-14 14:43:24 +02:00
proc_macro Revert "Add a hack to prevent proc_macro misopt in CI" 2024-09-18 13:53:33 -07:00
profiler_builtins Don't skip nonexistent source files 2024-08-27 17:30:42 +10:00
rtstartup Let InstCombine remove Clone shims inside Clone shims 2024-07-25 15:14:42 -04:00
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std wait for two short reads before uncapping the max read size 2024-09-21 18:50:29 +02:00
stdarch@ace72223a0 update stdarch 2024-09-11 08:35:32 +02:00
sysroot Auto merge of #125016 - nicholasbishop:bishop-cb-112, r=tgross35 2024-07-29 07:41:33 +00:00
test Reduce merged doctest source code size 2024-08-13 20:14:56 +02:00
unwind Fix linking error when compiling for 32-bit watchOS 2024-09-08 09:12:31 +02:00
windows_targets Win: Add dbghelp to the list of import libraries 2024-09-06 21:21:49 +00:00
Cargo.lock Update compiler-builtins to 0.1.125 2024-09-05 09:31:17 -07:00
Cargo.toml Auto merge of #129063 - the8472:cold-opt-size, r=Amanieu 2024-09-02 00:58:50 +00:00