parent
d5139f4469
commit
6ece80fcb6
32 changed files with 91 additions and 56 deletions
|
@ -2068,7 +2068,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
hir::GenericParam {
|
||||
hir_id,
|
||||
name,
|
||||
span: self.lower_span(param.ident.span),
|
||||
span: self.lower_span(param.span()),
|
||||
pure_wrt_drop: self.sess.contains_name(¶m.attrs, sym::may_dangle),
|
||||
bounds: self.arena.alloc_from_iter(bounds),
|
||||
kind,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue