summary refs log tree commit diff
path: root/src/test/compile-fail/macro-incomplete-parse.rs
AgeCommit message (Collapse)AuthorLines
2014-05-28Test pattern macrosKeegan McAllister-0/+8
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2013-11-26Support multiple item macrosSteven Fackler-1/+2
Closes #4375
2013-10-06Add appropriate #[feature] directives to testsAlex Crichton-0/+2
2013-10-02syntax: indicate an error when a macro ignores trailing tokens.Huon Wilson-0/+26
That is, only a single expression or item gets parsed, so if there are any extra tokens (e.g. the start of another item/expression) the user should be told, rather than silently dropping them. An example: macro_rules! foo { () => { println("hi"); println("bye); } } would expand to just `println("hi")`, which is almost certainly not what the programmer wanted. Fixes #8012.