Skip to content

Commit 9118faf

Browse files
committed
remove misleading comment
per aliemjay's suggestion
1 parent d8337ee commit 9118faf

File tree

1 file changed

+1
-4
lines changed
  • compiler/rustc_infer/src/infer/outlives

1 file changed

+1
-4
lines changed

compiler/rustc_infer/src/infer/outlives/verify.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,7 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
250250

251251
// To start, collect bounds from user environment. Note that
252252
// parameter environments are already elaborated, so we don't
253-
// have to worry about that. Comparing using `==` is a bit
254-
// dubious for projections, but it will work for simple cases
255-
// like `T` and `T::Item`. It may not work as well for things
256-
// like `<T as Foo<'a>>::Item`.
253+
// have to worry about that.
257254
let c_b = self.param_env.caller_bounds();
258255
let param_bounds = self.collect_outlives_from_predicate_list(erased_ty, c_b.into_iter());
259256

0 commit comments

Comments
 (0)