diff options
| author | John Clements <clements@racket-lang.org> | 2014-07-04 10:57:28 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2014-07-04 13:20:14 -0700 |
| commit | 63fb7c6f4049ba33cb2fcd5d5d117a3e484bd181 (patch) | |
| tree | a45d8ff87ea70a1bff08a3c134977aad0c7da63b /src/libsyntax | |
| parent | 3e99309bfc318c13e4ac82cf086b26d694f9c53c (diff) | |
| download | rust-63fb7c6f4049ba33cb2fcd5d5d117a3e484bd181.tar.gz rust-63fb7c6f4049ba33cb2fcd5d5d117a3e484bd181.zip | |
comments only
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index c472f293f92..534cddd6848 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1377,10 +1377,9 @@ mod test { // but *shouldn't* bind because it was inserted by a different macro.... // can't write this test case until we have macro-generating macros. - // lambda var hygiene + // item fn hygiene // expands to fn q(x_1:int){fn g(x_2:int){x_2 + x_1};} - #[test] - fn issue_9383(){ + #[test] fn issue_9383(){ run_renaming_test( &("macro_rules! bad_macro (($ex:expr) => (fn g(x:int){ x + $ex })) fn q(x:int) { bad_macro!(x); }", |
