rust/library
Tim (Theemathas) Chirananthavat 644469e961 Remove incorrect comments in Weak
It is currently possible to create a dangling `Weak` to a DST by
calling `Weak::new()` for a sized type, then doing an unsized coercion.
Therefore, the comments are wrong.

These comments were added in <https://github.com/rust-lang/rust/pull/73845>.
As far as I can tell, the guarantee in the comment was only previously
used in the `as_ptr` method. However, the current implementation of
`as_ptr` no longer relies on this guarantee.
2025-06-19 12:04:24 +07:00
..
alloc Remove incorrect comments in Weak 2025-06-19 12:04:24 +07:00
alloctests remove duplicate crash test 2025-06-18 14:04:02 +00:00
backtrace@b65ab935fb Update the backtrace submodule 2025-06-16 07:00:13 +00:00
compiler-builtins Work around out-of-tree testing with a shim crate 2025-06-14 06:56:18 +00:00
core Auto merge of #142689 - Urgau:rollup-4ho6835, r=Urgau 2025-06-18 21:19:39 +00:00
coretests Rollup merge of #142373 - m-ou-se:debug-for-location, r=tgross35 2025-06-16 14:31:11 +02:00
panic_abort Use the in-tree compiler-builtins 2025-06-08 02:36:58 +00:00
panic_unwind Rollup merge of #141993 - tgross35:use-in-tree-builtins, r=bjorn3 2025-06-09 12:17:53 -05:00
portable-simd Merge commit 'c14f2fc3eb' into sync-from-portable-simd-2025-03-19 2025-03-19 00:58:47 -04:00
proc_macro Add support for repetition to proc_macro::quote 2025-06-17 01:36:54 +09:00
profiler_builtins Fix profiler_builtins build script to handle full path to profiler lib 2025-04-11 16:57:38 +02:00
rtstartup library/compiler: add PointeeSized bounds 2025-06-16 23:04:33 +00:00
rustc-std-workspace-alloc Migrated the rustc-std-workspace crates to Rust 2024 2025-03-11 09:46:35 -07:00
rustc-std-workspace-core Use the in-tree compiler-builtins 2025-06-08 02:36:58 +00:00
rustc-std-workspace-std Migrated the rustc-std-workspace crates to Rust 2024 2025-03-11 09:46:35 -07:00
std Rollup merge of #142517 - ChrisDenton:anon-pipe, r=Mark-Simulacrum 2025-06-17 23:19:34 +02:00
stdarch@1b4d15df12 Update the stdarch submodule 2025-06-12 07:59:13 +00:00
sysroot Update stdarch 2025-05-01 20:01:43 +05:30
test Add new test_main_with_exit_callback public function in libtest to allow a callback to be called before exiting 2025-05-06 18:17:48 +02:00
unwind Upgrade the standard library unwinding version 2025-06-11 20:05:06 +00:00
windows_targets Fix backtrace for cygwin 2025-05-07 13:08:19 +08:00
Cargo.lock Rollup merge of #142308 - tgross35:upgrade-library-object, r=Mark-Simulacrum 2025-06-13 05:19:18 +02:00
Cargo.toml Use the in-tree compiler-builtins 2025-06-08 02:36:58 +00:00