summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-05 10:21:20 +0000
committerbors <bors@rust-lang.org>2025-06-05 10:21:20 +0000
commitc360e219f5a56631baa46065d28e9852ca7d4ce3 (patch)
tree7193d135b42af795cea72addaba2df1de3ca1b15 /compiler/rustc_parse/src
parent425e142686242c7e73f5e32c79071ae266f0f355 (diff)
parentb541f93372c24bcbf036efc2b454cff6f6b8f8c5 (diff)
downloadrust-c360e219f5a56631baa46065d28e9852ca7d4ce3.tar.gz
rust-c360e219f5a56631baa46065d28e9852ca7d4ce3.zip
Auto merge of #135054 - cramertj:file-cstr, r=m-ou-se
Add Location::file_with_nul

This is useful for C/C++ APIs which expect the const char* returned from __FILE__ or std::source_location::file_name.

ACP: https://github.com/rust-lang/libs-team/issues/466
Tracking issue: https://github.com/rust-lang/rust/issues/141727
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions