mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27)
This commit is contained in:
parent
a28b5cb438
commit
74f6c9b74f
10 changed files with 31 additions and 23 deletions
|
@ -18,8 +18,8 @@ use syntax::attr::AttrMetaMethods;
|
|||
use syntax::codemap::Span;
|
||||
use syntax::ext::base::{Annotatable, ExtCtxt};
|
||||
use syntax::ext::build::AstBuilder;
|
||||
use syntax::ext::deriving::generic::*;
|
||||
use syntax::ptr::P;
|
||||
use syntax_ext::deriving::generic::*;
|
||||
|
||||
pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
|
||||
item: &Annotatable, push: &mut FnMut(Annotatable)) {
|
||||
|
|
|
@ -7,9 +7,9 @@ use syntax::ast::{MetaItem, Expr};
|
|||
use syntax::codemap::Span;
|
||||
use syntax::ext::base::{Annotatable, ExtCtxt};
|
||||
use syntax::ext::build::AstBuilder;
|
||||
use syntax::ext::deriving::generic::{Struct, Substructure, TraitDef, ty};
|
||||
use syntax::ext::deriving::generic::{combine_substructure, EnumMatching, FieldInfo, MethodDef};
|
||||
use syntax::ptr::P;
|
||||
use syntax_ext::deriving::generic::{Struct, Substructure, TraitDef, ty};
|
||||
use syntax_ext::deriving::generic::{combine_substructure, EnumMatching, FieldInfo, MethodDef};
|
||||
|
||||
pub fn expand_dom_struct(cx: &mut ExtCtxt, sp: Span, _: &MetaItem, anno: Annotatable) -> Annotatable {
|
||||
if let Annotatable::Item(item) = anno {
|
||||
|
|
|
@ -23,6 +23,7 @@ extern crate rustc_front;
|
|||
extern crate rustc_plugin;
|
||||
#[macro_use]
|
||||
extern crate syntax;
|
||||
extern crate syntax_ext;
|
||||
extern crate tenacious;
|
||||
|
||||
extern crate url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue