Skip to content

Commit 68fd322

Browse files
committed
Change to Elaborate::None inside compute_projection
1 parent 373e909 commit 68fd322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/wf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<'a, 'gcx, 'tcx> WfPredicates<'a, 'gcx, 'tcx> {
198198
// WF and (b) the trait-ref holds. (It may also be
199199
// normalizable and be WF that way.)
200200
let trait_ref = data.trait_ref(self.infcx.tcx);
201-
self.compute_trait_ref(&trait_ref, Elaborate::All);
201+
self.compute_trait_ref(&trait_ref, Elaborate::None);
202202

203203
if !data.has_escaping_regions() {
204204
let predicate = trait_ref.to_predicate();

0 commit comments

Comments
 (0)