error: macros that expand to items must be delimited with braces or followed by a semicolon --> $DIR/issue-10536.rs:14:22 | LL | assert!({one! two()}); | ^^ help: change the delimiters to curly braces | LL | assert!({one! two {}}); | ^^ help: add a semicolon | LL | assert!({one! two();}); | ^ error: expected `(` or `{`, found `}` --> $DIR/issue-10536.rs:21:22 | LL | assert!({one! two}); | ^ expected `(` or `{` error: cannot find macro `one!` in this scope --> $DIR/issue-10536.rs:14:14 | LL | assert!({one! two()}); | ^^^ error[E0308]: mismatched types --> $DIR/issue-10536.rs:14:13 | LL | assert!({one! two()}); | ^^^^^^^^^^^^ expected bool, found () | = note: expected type `bool` found type `()` error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0308`.