diff options
| author | bors <bors@rust-lang.org> | 2013-09-25 02:15:59 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-25 02:15:59 -0700 |
| commit | f6c9ff392becd86ee22ad96cd66e137b65195f97 (patch) | |
| tree | 86226fccf2e6fdb527e5075edfaf607090748d9f /src/libsyntax/ext | |
| parent | 45311846145a39e6b5755a0740d53ac4ea3183a4 (diff) | |
| parent | 0269850cc22a9b09f08584d312001afd8887e89b (diff) | |
| download | rust-f6c9ff392becd86ee22ad96cd66e137b65195f97.tar.gz rust-f6c9ff392becd86ee22ad96cd66e137b65195f97.zip | |
auto merge of #9481 : jbclements/rust/minor-cleanup, r=cmr
Small stuff... might as well get it into the tree. One new test case, some issue # cleanup, remove some unused imports.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 004a889fb4d..64f30803ca7 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1640,9 +1640,10 @@ mod test { macro_rules! user(($x:ident) => ({letty!($x); $x})) fn main() -> int {user!(z)}", ~[~[0]], false), - // FIXME #8062: this test exposes a *potential* bug; our system does - // not behave exactly like MTWT, but I haven't thought of a way that - // this could cause a bug in Rust, yet. + // no longer a fixme #8062: this test exposes a *potential* bug; our system does + // not behave exactly like MTWT, but a conversation with Matthew Flatt + // suggests that this can only occur in the presence of local-expand, which + // we have no plans to support. // ("fn main() {let hrcoo = 19; macro_rules! getx(()=>(hrcoo)); getx!();}", // ~[~[0]], true) // FIXME #6994: the next string exposes the bug referred to in issue 6994, so I'm @@ -1655,6 +1656,7 @@ mod test { // fn a(){g!(z)}" // create a really evil test case where a $x appears inside a binding of $x // but *shouldnt* bind because it was inserted by a different macro.... + // can't write this test case until we have macro-generating macros. ]; for (idx,s) in tests.iter().enumerate() { run_renaming_test(s,idx); |
