about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-07-16 17:06:41 +0200
committerGitHub <noreply@github.com>2025-07-16 17:06:41 +0200
commit9eda137008637d7c70e0beefe5ea51b2e4c7a599 (patch)
tree943a5b3cb5e62a47c69ab27156a8de62c54f0824 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parentb564ecf04bda12431116daa21efc88e8757ff748 (diff)
parent2b4ede7e3d37de731821b5b04a6f1fce269c1afb (diff)
downloadrust-9eda137008637d7c70e0beefe5ea51b2e4c7a599.tar.gz
rust-9eda137008637d7c70e0beefe5ea51b2e4c7a599.zip
Rollup merge of #143921 - oli-obk:const-index, r=fee1-dead
Constify `Index` traits

tracking issue: rust-lang/rust#143775

the `SliceIndex` trait cannot be implemented by users as it is sealed. While it would be useful for the `get` method on slices, it seems weird to have a feature gate for that that isn't also gating index syntax at the same time, so I put them under the same feature gate.

r? ```````@fee1-dead```````
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions