auto merge of #6686 : cmr/rust/fix-6596, r=catamorphism
The error message is extremely unideal.
This commit is contained in:
commit
f517ed0b08
2 changed files with 16 additions and 4 deletions
9
src/test/compile-fail/issue-6596.rs
Normal file
9
src/test/compile-fail/issue-6596.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
macro_rules! e( //~ ERROR unknown macro variable `nonexistent`
|
||||
($inp:ident) => (
|
||||
$nonexistent
|
||||
);
|
||||
)
|
||||
|
||||
fn main() {
|
||||
e!(foo);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue