diff options
| author | Jana Dönszelmann <jonathan@donsz.nl> | 2025-06-21 15:32:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-21 15:32:06 +0200 |
| commit | c693bc268acd4826faa2d1fa7908aaafc36a7e02 (patch) | |
| tree | a2878d9eb8695942e89b47c8e9fdb76ce59e5edc /compiler/rustc_hir/src/hir.rs | |
| parent | 6ed5d48cecd90072dd25c52d102a3d76f9afc5bb (diff) | |
| parent | 044c99df78da9464e2ad0a90494af1e584123ab4 (diff) | |
| download | rust-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
