diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-12-04 15:38:04 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-12-04 15:38:04 -0800 |
| commit | 33c1e47c1b09216e100951ba9e95a3c0c61c0cc7 (patch) | |
| tree | 71733e209b790593e72388b908add93877b25a87 /src/libsyntax | |
| parent | f02e9db212199e7d7e70b0330b8ea76caaaa0ea9 (diff) | |
| download | rust-33c1e47c1b09216e100951ba9e95a3c0c61c0cc7.tar.gz rust-33c1e47c1b09216e100951ba9e95a3c0c61c0cc7.zip | |
librustc: Implement moves based on type. r=nmatsakis
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index e51800b8a61..e782a183430 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -100,8 +100,8 @@ enum matcher_pos_up { /* to break a circularity */ } fn is_some(&&mpu: matcher_pos_up) -> bool { - match mpu { - matcher_pos_up(None) => false, + match &mpu { + &matcher_pos_up(None) => false, _ => true } } |
