mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update to Rust 1.15.0-nightly (1c448574b 2016-11-28)
This commit is contained in:
parent
7be32770b1
commit
1d56087188
14 changed files with 207 additions and 228 deletions
|
@ -24,7 +24,8 @@ fn expand_string(input: &str) -> String {
|
|||
});
|
||||
|
||||
let name = &type_.ident;
|
||||
let (impl_generics, ty_generics, mut where_clause) = type_.generics.split_for_impl();
|
||||
let (impl_generics, ty_generics, where_clause) = type_.generics.split_for_impl();
|
||||
let mut where_clause = where_clause.clone();
|
||||
for param in &type_.generics.ty_params {
|
||||
where_clause.predicates.push(syn::WherePredicate::BoundPredicate(syn::WhereBoundPredicate {
|
||||
bound_lifetimes: Vec::new(),
|
||||
|
@ -40,8 +41,6 @@ fn expand_string(input: &str) -> String {
|
|||
}
|
||||
|
||||
let tokens = quote! {
|
||||
#type_
|
||||
|
||||
impl #impl_generics ::dom::bindings::trace::JSTraceable for #name #ty_generics #where_clause {
|
||||
#[inline]
|
||||
#[allow(unused_variables, unused_imports)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue