about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-27 20:40:29 +0200
committerGitHub <noreply@github.com>2023-05-27 20:40:29 +0200
commit5a4c04cc2cddb3d0da846096494a723315dd2975 (patch)
treed89fd1e1c07961ff24157a6c2671827b0c59468d /compiler/rustc_errors/src/snippet.rs
parent97fae38bf92a80c6ba41bf2a195afb2300aae275 (diff)
parentf0c9c1eb19864d95e6348d79c54fa4a412019f3a (diff)
downloadrust-5a4c04cc2cddb3d0da846096494a723315dd2975.tar.gz
rust-5a4c04cc2cddb3d0da846096494a723315dd2975.zip
Rollup merge of #111656 - finnbear:string_leak_unbounded_lifetime, r=Amanieu
Use an unbounded lifetime in `String::leak`.

Using `'a` instead of `'static` is predicted to make the process of making `String` generic over an allocator easier/less of a breaking change.

See:
- https://github.com/rust-lang/rust/pull/109814#issuecomment-1550164195
- https://github.com/rust-lang/rust/pull/109814#issuecomment-1550250163

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