This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-02 13:07:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8152da82b5
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-23 13:53:59 +00:00
fn
main
(
)
{
syntax: Introduce a struct `MacArgs` for macro arguments
2019-11-30 23:25:32 +00: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-23 13:53:59 +00:00
}
Reference in New Issue
Copy Permalink