about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-28 23:10:36 +1000
committerGitHub <noreply@github.com>2025-08-28 23:10:36 +1000
commitf6c56bcd66ebf0bfcb65ddd696c7e88210c38f00 (patch)
treedaae4e46f32394f5880d73835d99c27cd87065be /compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
parentc83811762091e45a4cccff2f4546eac88928201b (diff)
parente06cd9f2c82c5bb3999eafda7abe2b1951384f78 (diff)
downloadrust-f6c56bcd66ebf0bfcb65ddd696c7e88210c38f00.tar.gz
rust-f6c56bcd66ebf0bfcb65ddd696c7e88210c38f00.zip
Rollup merge of #145930 - GrigorenkoPV:const_str_as_str, r=joshtriplett
`const`ify (the unstable) `str::as_str`

Tracking issue: rust-lang/rust#130366

The method was not initially marked `const` presumably because it is only useful with `Deref`. But now that const traits seem to be a thing that can actually become real, why not make it `const`?

PR `const`ifying `Deref`: rust-lang/rust#145279
Diffstat (limited to 'compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs')
0 files changed, 0 insertions, 0 deletions