about summary refs log tree commit diff
path: root/tests/ui/macros/concat-bytes-error.stderr
AgeCommit message (Collapse)AuthorLines
2025-06-19Improve diagnostics for `concat_bytes!` with C string literalsTrevor Gross-30/+41
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.
2025-06-18Add a test for `concat_bytes!` with C stringsTrevor Gross-29/+59
Also ensure the suggestions are checked, since this will be updated.
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-4/+4
Co-authored-by: Joe ST <joe@fbstj.net> Co-authored-by: Michael Goulet <michael@errs.io>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+181