about summary refs log tree commit diff
path: root/tests/ui/proc-macro/auxiliary/api/parse.rs
AgeCommit message (Collapse)AuthorLines
2024-06-13Rename proc_macro::Literal tests from parse.rs to literal.rsDavid Tolnay-58/+0
This module contains tests not just of parse (FromStr) but also to_string (Display) for literals.
2024-01-16proc_macro_c_str_literals: Implement Literal::c_string constructornovafacing-4/+3
2023-09-23implement Literal::byte_characterEmil Gardström-0/+4
without this, the only way to create a `LitKind::Byte` is by doing `"b'a'".parse::<Literal>()`, this solves that by enabling `Literal::byte_character(b'a')`
2023-01-11Move /src/test to /testsAlbert Larsan-0/+55