Skip to content

Commit 42077b7

Browse files
committed
fix: Highlight meta macro idea
1 parent 842f722 commit 42077b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/3503-frontmatter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ Benefits
170170

171171
Downsides
172172
- The `cargo` macro would need to come from somewhere (`std`?) which means it is taking on `cargo`-specific knowledge
173+
- An unexplored direction we could go with this is a `meta!` macro (e.g. we'd need to have a format marker in it)
173174
- A lot of tools/IDEs have problems in dealing with macros
174175
- Free-form rust code makes it harder for cargo to make edits to the manifest
175176
- Either we expose `syn`s lesser parse errors or we skip errors, deferring to rustc's, but then have the wrong behavior on commands that don't invoke rustc, like `cargo metadata`

0 commit comments

Comments
 (0)