From 5982594c7e6fd1ddd7084c9d6d125426a180c964 Mon Sep 17 00:00:00 2001 From: Ariel Ben-Yehuda Date: Sun, 15 Nov 2015 20:11:42 +0200 Subject: [PATCH] address review comments --- src/librustc/middle/traits/select.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/librustc/middle/traits/select.rs b/src/librustc/middle/traits/select.rs index 98ee94fe328e3..ba69632fde1b1 100644 --- a/src/librustc/middle/traits/select.rs +++ b/src/librustc/middle/traits/select.rs @@ -423,7 +423,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { }) } - + /// Evaluates the predicates in `predicates` recursively. Note that + /// this applies projections in the predicates, and therefore + /// is run within an inference probe. fn evaluate_predicates_recursively<'a,'o,I>(&mut self, stack: TraitObligationStackList<'o, 'tcx>, predicates: I)