diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-12 20:19:11 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-12 20:19:44 +1000 |
| commit | 5c376e53d0febb493bcb7de21564d6f60a6da514 (patch) | |
| tree | 4663c6c828eb70e243eb4f9f96fcba24493f2cf9 /src/libsyntax | |
| parent | ea9bdaaed9e4cb91cb8dfc96d0ce2dab10eae1d2 (diff) | |
| download | rust-5c376e53d0febb493bcb7de21564d6f60a6da514.tar.gz rust-5c376e53d0febb493bcb7de21564d6f60a6da514.zip | |
libsyntax: another fix for deriving on windows.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/deriving/generic.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/ext/deriving/generic.rs b/src/libsyntax/ext/deriving/generic.rs index 8fe2ca1a1a1..dfbb98fa233 100644 --- a/src/libsyntax/ext/deriving/generic.rs +++ b/src/libsyntax/ext/deriving/generic.rs @@ -130,7 +130,6 @@ use core::prelude::*; use ast; use ast::{ - and, binop, deref, enum_def, expr, expr_match, ident, impure_fn, item, Generics, m_imm, meta_item, method, named_field, or, pat_wild, public, struct_def, sty_region, ty_rptr, ty_path, @@ -328,7 +327,7 @@ impl<'self> MethodDef<'self> { } Some(str_path) => { let p = do str_path.map |&s| { cx.ident_of(s) }; - build::mk_raw_path(span, p) + build::mk_raw_path_global(span, p) } } } |
