Store impl unsafety in impl trait header
This commit is contained in:
parent
09d73fab08
commit
11a73f6d4d
4 changed files with 28 additions and 24 deletions
|
@ -1539,6 +1539,7 @@ fn impl_trait_header(
|
|||
};
|
||||
ty::EarlyBinder::bind(ty::ImplTraitHeader {
|
||||
trait_ref,
|
||||
unsafety: impl_.unsafety,
|
||||
polarity: polarity_of_impl(tcx, def_id, impl_, item.span)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue