mirror of
https://github.com/RGBCube/cstree
synced 2025-07-27 17:17:45 +00:00
Add derive macro for Syntax
(used to be Language
) (#51)
This commit is contained in:
parent
2aa543036f
commit
c5279bae7d
70 changed files with 1459 additions and 899 deletions
11
test_suite/tests/ui/static_text/empty_expr.stderr
Normal file
11
test_suite/tests/ui/static_text/empty_expr.stderr
Normal file
|
@ -0,0 +1,11 @@
|
|||
error: argument to `static_text` must be a string literal: `#[static_text("...")]`
|
||||
--> tests/ui/static_text/empty_expr.rs:7:7
|
||||
|
|
||||
7 | #[static_text()]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: unexpected end of input, expected string literal
|
||||
--> tests/ui/static_text/empty_expr.rs:7:19
|
||||
|
|
||||
7 | #[static_text()]
|
||||
| ^
|
Loading…
Add table
Add a link
Reference in a new issue