Files
rust/library
Guillaume Gomez 369d135733 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
deprecate `std::intrinsics::transmute` etc, use `std::mem::*` instead

The `rustc_allowed_through_unstable_modules` attribute lets users call `std::mem::transmute` as `std::intrinsics::transmute`. The former is a reexport of the latter, and for a long time we didn't properly check stability for reexports, so making this a hard error now would be a breaking change for little gain. But at the same time, `std::intrinsics::transmute` is not the intended path for this function, so I think it is a good idea to show a deprecation warning when that path is used. This PR implements that, for all the functions in `std::intrinsics` that carry the attribute.

I assume this will need ``@rust-lang/libs-api`` FCP.
2025-01-15 16:30:11 +01:00
..
2025-01-15 04:02:19 +00:00
2025-01-03 20:16:52 -08:00
2024-07-28 14:46:29 -04:00
2024-12-24 19:00:57 +01:00
2024-12-24 19:00:57 +01:00
2024-11-19 18:54:20 +01:00
2025-01-15 04:02:19 +00:00
2025-01-05 01:40:09 +01:00