diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-10-18 04:24:22 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-10-24 20:06:37 +0300 |
| commit | 93cac9c3da06e1fbbdee10df7525234ffc7c76cd (patch) | |
| tree | 8c4d3d33ea26b7cb62c2ae9ed8243f76e537e0d4 /src/librustc/query/mod.rs | |
| parent | 8e0007f829661e57d008d2e908c95f6e84b04b25 (diff) | |
| download | rust-93cac9c3da06e1fbbdee10df7525234ffc7c76cd.tar.gz rust-93cac9c3da06e1fbbdee10df7525234ffc7c76cd.zip | |
rustc: add `Span`s to `inferred_outlives_of` predicates.
Diffstat (limited to 'src/librustc/query/mod.rs')
| -rw-r--r-- | src/librustc/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs index fdca6d0e17a..7cae74b59c7 100644 --- a/src/librustc/query/mod.rs +++ b/src/librustc/query/mod.rs @@ -191,7 +191,7 @@ rustc_queries! { /// Returns the inferred outlives predicates (e.g., for `struct /// Foo<'a, T> { x: &'a T }`, this would return `T: 'a`). - query inferred_outlives_of(_: DefId) -> &'tcx [ty::Predicate<'tcx>] {} + query inferred_outlives_of(_: DefId) -> &'tcx [(ty::Predicate<'tcx>, Span)] {} /// Maps from the `DefId` of a trait to the list of /// super-predicates. This is a subset of the full list of |
