Skip to content

Commit b117a39

Browse files
authored
Rollup merge of rust-lang#73059 - lcnr:outdated-comment, r=matthewjasper
remove outdated comment r? @matthewjasper
2 parents 71230e1 + 32c488f commit b117a39

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc_middle/ty/sty.rs

-4
Original file line numberDiff line numberDiff line change
@@ -724,10 +724,6 @@ impl<'tcx> Binder<&'tcx List<ExistentialPredicate<'tcx>>> {
724724
///
725725
/// Trait references also appear in object types like `Foo<U>`, but in
726726
/// that case the `Self` parameter is absent from the substitutions.
727-
///
728-
/// Note that a `TraitRef` introduces a level of region binding, to
729-
/// account for higher-ranked trait bounds like `T: for<'a> Foo<&'a U>`
730-
/// or higher-ranked object types.
731727
#[derive(Copy, Clone, PartialEq, Eq, Hash, RustcEncodable, RustcDecodable)]
732728
#[derive(HashStable, TypeFoldable)]
733729
pub struct TraitRef<'tcx> {

0 commit comments

Comments
 (0)