about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-28 17:12:18 +0200
committerGitHub <noreply@github.com>2024-08-28 17:12:18 +0200
commit29188a54b3320b427dfefd67a3bb299ad2ea524e (patch)
tree71166d4e1ab5692ac9e8410d2ce0007d7091a122 /compiler/rustc_pattern_analysis/src
parent57251192f68b01e2f19c9f48bd07f31749644aa2 (diff)
parent1ad218f3af806c1f0c14e8b44656318b913a3906 (diff)
downloadrust-29188a54b3320b427dfefd67a3bb299ad2ea524e.tar.gz
rust-29188a54b3320b427dfefd67a3bb299ad2ea524e.zip
Rollup merge of #129657 - jswrenn:transmute-name, r=compiler-errors
Rename `BikeshedIntrinsicFrom` to `TransmuteFrom`

As our implementation of MCP411 nears completion and we begin to solicit testing, it's no longer reasonable to expect testers to type or remember `BikeshedIntrinsicFrom`. The name degrades the ease-of-reading of documentation, and the overall experience of using compiler safe transmute.

Tentatively, we'll instead adopt `TransmuteFrom`.

This name seems to be the one most likely to be stabilized, after discussion on Zulip [1]. We may want to revisit the ordering of `Src` and `Dst` before stabilization, at which point we'd likely consider `TransmuteInto` or `Transmute`.

[1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20should.20.60BikeshedIntrinsicFrom.60.20be.20named.3F

Tracking Issue: https://github.com/rust-lang/rust/issues/99571

r​? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions