about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-07-25 01:17:58 +0000
committerMichael Goulet <michael@errs.io>2023-08-15 03:40:19 +0000
commit2ae4bedd859b2a42a03e9513e40e4829309af4c6 (patch)
tree0b97f5a17ee0c7e22407f8351a0a9c9be5dd6fe3 /compiler/rustc_middle/src
parentffaa32b7b646c208f20c827655bb98ff9868852e (diff)
downloadrust-2ae4bedd859b2a42a03e9513e40e4829309af4c6.tar.gz
rust-2ae4bedd859b2a42a03e9513e40e4829309af4c6.zip
more span info
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/ty/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs
index 48aa25dba6d..377dd82a00e 100644
--- a/compiler/rustc_middle/src/ty/mod.rs
+++ b/compiler/rustc_middle/src/ty/mod.rs
@@ -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)]