3 Commits

Author SHA1 Message Date
Trevor Gross
044c99df78 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.
2025-06-19 16:13:20 +00:00
Trevor Gross
342f07ab31 Add a test for concat_bytes! with C strings
Also ensure the suggestions are checked, since this will be updated.
2025-06-18 21:10:31 -04:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00