diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2013-06-21 18:52:53 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2013-06-29 03:58:50 -0400 |
| commit | 5784c0912f99a4bfeb75909fab0cf9bb6bef794f (patch) | |
| tree | cd2f4c1156822c7b4a9589f5ed3a60b549b30128 /src/libsyntax/parse | |
| parent | 4e78c1e2a89f65a1827e1f65afc741cee05cee0a (diff) | |
| download | rust-5784c0912f99a4bfeb75909fab0cf9bb6bef794f.tar.gz rust-5784c0912f99a4bfeb75909fab0cf9bb6bef794f.zip | |
Change taskgroup key type to fn:Copy in prep for noncopyable stack closures.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 793626f0e18..c98062cf3bd 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -484,7 +484,7 @@ pub fn get_ident_interner() -> @ident_interner { unsafe { let key = (cast::transmute::<(uint, uint), - &fn(v: @@::parse::token::ident_interner)>( + &fn:Copy(v: @@::parse::token::ident_interner)>( (-3 as uint, 0u))); match local_data::local_data_get(key) { Some(interner) => *interner, |
