more span info

This commit is contained in:
Michael Goulet 2023-07-25 01:17:58 +00:00
parent ffaa32b7b6
commit 2ae4bedd85
6 changed files with 24 additions and 14 deletions

View file

@ -238,7 +238,7 @@ pub struct ImplHeader<'tcx> {
pub impl_def_id: DefId,
pub self_ty: Ty<'tcx>,
pub trait_ref: Option<TraitRef<'tcx>>,
pub predicates: Vec<Predicate<'tcx>>,
pub predicates: Vec<(Predicate<'tcx>, Span)>,
}
#[derive(Copy, Clone, PartialEq, Eq, Debug, TypeFoldable, TypeVisitable)]