about summary refs log tree commit diff
path: root/tests/ui/macros/concat-bytes-error.rs
AgeCommit message (Collapse)AuthorLines
2025-06-19Improve diagnostics for `concat_bytes!` with C string literalsTrevor Gross-3/+4
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-0/+24
Also ensure the suggestions are checked, since this will be updated.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+50