Skip to content

Commit 5c376e5

Browse files
committed
libsyntax: another fix for deriving on windows.
1 parent ea9bdaa commit 5c376e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/libsyntax/ext/deriving/generic.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ use core::prelude::*;
130130
use ast;
131131

132132
use ast::{
133-
134133
and, binop, deref, enum_def, expr, expr_match, ident, impure_fn,
135134
item, Generics, m_imm, meta_item, method, named_field, or,
136135
pat_wild, public, struct_def, sty_region, ty_rptr, ty_path,
@@ -328,7 +327,7 @@ impl<'self> MethodDef<'self> {
328327
}
329328
Some(str_path) => {
330329
let p = do str_path.map |&s| { cx.ident_of(s) };
331-
build::mk_raw_path(span, p)
330+
build::mk_raw_path_global(span, p)
332331
}
333332
}
334333
}

0 commit comments

Comments
 (0)