Skip to content

Commit

Permalink
Rollup merge of rust-lang#72946 - lcnr:remove-fixme, r=Dylan-DPC
Browse files Browse the repository at this point in the history
remove outdated fixme

This function now accepts `impl Iterator<Item = ty::Predicate<'tcx>>`.
  • Loading branch information
Dylan-DPC authored Jun 4, 2020
2 parents 4840b7c + f3eab4b commit aad25fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc_trait_selection/opaque_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1253,9 +1253,6 @@ pub fn may_define_opaque_type(
///
/// Requires that trait definitions have been processed so that we can
/// elaborate predicates and walk supertraits.
//
// FIXME: callers may only have a `&[Predicate]`, not a `Vec`, so that's
// what this code should accept.
crate fn required_region_bounds(
tcx: TyCtxt<'tcx>,
erased_self_ty: Ty<'tcx>,
Expand Down

0 comments on commit aad25fe

Please sign in to comment.