Skip to content

Commit

Permalink
Change to Elaborate::None inside compute_projection
Browse files Browse the repository at this point in the history
  • Loading branch information
scalexm committed Aug 25, 2017
1 parent 373e909 commit 68fd322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ty/wf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl<'a, 'gcx, 'tcx> WfPredicates<'a, 'gcx, 'tcx> {
// WF and (b) the trait-ref holds. (It may also be
// normalizable and be WF that way.)
let trait_ref = data.trait_ref(self.infcx.tcx);
self.compute_trait_ref(&trait_ref, Elaborate::All);
self.compute_trait_ref(&trait_ref, Elaborate::None);

if !data.has_escaping_regions() {
let predicate = trait_ref.to_predicate();
Expand Down

0 comments on commit 68fd322

Please sign in to comment.