This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
tests
/
ui
/
parser
/
macro-bad-delimiter-ident.rs
4 lines
85 B
Rust
Raw
Normal View
History
Unescape
Escape
syntax: allow stmt/expr macro invocations to be delimited by {}. This makes using control-flow-y macros like `spawn! { ... }` more fluent and natural. cc #11892.
2014-02-24 00:53:59 +11:00
fn
main
(
)
{
syntax: Introduce a struct `MacArgs` for macro arguments
2019-12-01 02:25:32 +03:00
foo
!
bar
<
//~ ERROR expected one of `(`, `[`, or `{`, found `bar`
syntax: allow stmt/expr macro invocations to be delimited by {}. This makes using control-flow-y macros like `spawn! { ... }` more fluent and natural. cc #11892.
2014-02-24 00:53:59 +11:00
}
Reference in New Issue
Copy Permalink