Files
rust/tests/ui
Guillaume Gomez e31493b9b8 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-08 07:34:59 +00:00
2025-01-07 16:04:14 +01:00
2024-12-13 00:04:56 +00:00
2025-01-07 16:04:14 +01:00
2025-01-07 16:04:14 +01:00
2024-10-08 10:58:49 -04:00
2024-10-08 10:58:49 -04:00
2024-05-08 21:37:55 +02:00
2024-05-08 21:37:55 +02:00
2024-05-08 21:37:55 +02:00
2024-04-27 10:54:35 +03:00
2024-07-04 22:31:53 +02:00
2024-07-04 21:27:52 +02:00
2024-07-04 22:31:53 +02:00
2024-10-05 00:19:43 +00:00
2024-10-05 00:19:43 +00:00
2024-10-05 00:19:43 +00:00
2024-12-13 00:04:56 +00:00
2024-04-27 10:54:35 +03:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-04-24 13:12:33 +01:00
2024-06-13 12:24:31 +02:00
2024-06-13 12:24:31 +02:00
2024-04-24 13:12:33 +01:00
2024-12-12 23:36:27 +00:00
2024-12-13 00:04:56 +00:00
2024-06-09 07:47:42 +01:00
2023-10-04 21:09:54 +00:00