diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-06-18 20:08:15 -0400 | 
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-06-19 16:13:20 +0000 | 
| commit | 044c99df78da9464e2ad0a90494af1e584123ab4 (patch) | |
| tree | 0aa346ba15153954fb12cfebb05791e8281ac20a /compiler/rustc_resolve/src/rustdoc.rs | |
| parent | 342f07ab31d523c17eb1fb8fe8aee48674309e23 (diff) | |
| download | rust-044c99df78da9464e2ad0a90494af1e584123ab4.tar.gz rust-044c99df78da9464e2ad0a90494af1e584123ab4.zip | |
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_resolve/src/rustdoc.rs')
0 files changed, 0 insertions, 0 deletions
