Now it compiles
This commit is contained in:
parent
25abe48307
commit
99b49b532c
2 changed files with 4 additions and 2 deletions
|
@ -809,7 +809,7 @@ impl<'a> LoweringContext<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
fn lower_attrs(&mut self, attrs: &Vec<Attribute>) -> hir::HirVec<Attribute> {
|
||||
fn lower_attrs(&mut self, attrs: &[Attribute]) -> hir::HirVec<Attribute> {
|
||||
attrs.iter().map(|a| self.lower_attr(a)).collect::<Vec<_>>().into()
|
||||
}
|
||||
|
||||
|
@ -1019,6 +1019,7 @@ impl<'a> LoweringContext<'a> {
|
|||
span,
|
||||
pure_wrt_drop: false,
|
||||
synthetic: Some(hir::SyntheticTyParamKind::ImplTrait),
|
||||
attrs: P::new(),
|
||||
});
|
||||
|
||||
hir::TyPath(hir::QPath::Resolved(None, P(hir::Path {
|
||||
|
|
|
@ -203,7 +203,8 @@ impl_stable_hash_for!(struct hir::TyParam {
|
|||
default,
|
||||
span,
|
||||
pure_wrt_drop,
|
||||
synthetic
|
||||
synthetic,
|
||||
attrs
|
||||
});
|
||||
|
||||
impl_stable_hash_for!(enum hir::GenericParam {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue