diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 15:29:18 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-06 15:29:18 -0800 |
| commit | e3f047c8c558624e276ca36c5854b9fdcd4e5965 (patch) | |
| tree | 77e9e15864dd4466a9592fe6e26b6494e7e26c62 /src/libsyntax/ext/tt | |
| parent | ed61bd869300df56e52338ba1ee36038159ad196 (diff) | |
| parent | 169fbed25179f223b730e1db5739e4a5a408ef31 (diff) | |
| download | rust-e3f047c8c558624e276ca36c5854b9fdcd4e5965.tar.gz rust-e3f047c8c558624e276ca36c5854b9fdcd4e5965.zip | |
rollup merge of #20653: alexcrichton/entry-unstable
There's been some debate over the precise form that these APIs should take, and they've undergone some changes recently, so these APIs are going to be left unstable for now to be fleshed out during the next release cycle.
Diffstat (limited to 'src/libsyntax/ext/tt')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 581c60bdeb9..0f9d613cf13 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -219,7 +219,7 @@ pub fn nameize(p_s: &ParseSess, ms: &[TokenTree], res: &[Rc<NamedMatch>]) } } &TtToken(sp, MatchNt(bind_name, _, _, _)) => { - match ret_val.entry(&bind_name) { + match ret_val.entry(bind_name) { Vacant(spot) => { spot.insert(res[*idx].clone()); *idx += 1; |
