Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/parser/macro-mismatched-delim-brace-paren.rs

8 lines
138 B
Rust
Raw Normal View History

tests: Do not use `-Z parse-only`, continue compilation to test recovery
2019-01-06 18:33:05 +03:00
macro_rules! foo { ($($tt:tt)*) => () }
Return nonzero exit code if there are errors at a stop point
2015-02-09 20:01:45 +01:00
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() {
foo! {
bar, "baz", 1, 2.0
tweak wording of mismatched delimiter errors
2020-01-03 08:40:15 -05:00
) //~ ERROR mismatched closing delimiter
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
Powered by Gitea Version: 1.24.6 Page: 4150ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API