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
|
@ -252,6 +252,7 @@ pub struct ImplHeader<'tcx> {
|
|||
pub struct ImplTraitHeader<'tcx> {
|
||||
pub trait_ref: ty::TraitRef<'tcx>,
|
||||
pub polarity: ImplPolarity,
|
||||
pub unsafety: hir::Unsafety,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, TypeFoldable, TypeVisitable)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue