about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-07-30 09:48:36 -0400
committerNathan Perry <np@nathanperry.dev>2024-10-06 19:58:35 -0400
commitd793766a6199d9b7339633ad0296af63c7b4f9b8 (patch)
tree788a504d400cd51964d6db63634f1b6a33e05e11 /compiler/rustc_errors/src/snippet.rs
parent506f22b4663f3e756e1e6a4f66c6309fdc00819c (diff)
downloadrust-d793766a6199d9b7339633ad0296af63c7b4f9b8.tar.gz
rust-d793766a6199d9b7339633ad0296af63c7b4f9b8.zip
liballoc: introduce String, Vec const-slicing
This change `const`-qualifies many methods on Vec and String, notably
`as_slice`, `as_str`, `len`. These changes are made behind the unstable
feature flag `const_vec_string_slice` with the following tracking issue:

https://github.com/rust-lang/rust/issues/129041
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions