about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/hir.rs
diff options
context:
space:
mode:
authorJana Dönszelmann <jonathan@donsz.nl>2025-06-21 15:32:06 +0200
committerGitHub <noreply@github.com>2025-06-21 15:32:06 +0200
commitc693bc268acd4826faa2d1fa7908aaafc36a7e02 (patch)
treea2878d9eb8695942e89b47c8e9fdb76ce59e5edc /compiler/rustc_hir/src/hir.rs
parent6ed5d48cecd90072dd25c52d102a3d76f9afc5bb (diff)
parent044c99df78da9464e2ad0a90494af1e584123ab4 (diff)
downloadrust-c693bc268acd4826faa2d1fa7908aaafc36a7e02.tar.gz
rust-c693bc268acd4826faa2d1fa7908aaafc36a7e02.zip
Rollup merge of #142698 - tgross35:concat-byte-cstr-diag, r=petrochenkov
Improve diagnostics for `concat_bytes!` with C string  literals

Use the same error as other invalid types for `concat_bytes!`, rather
than using `ConcatCStrLit` from `concat!`. Also add more information
with a note about why this doesn't work, and a suggestion to use a
null-terminated byte string instead.
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
0 files changed, 0 insertions, 0 deletions