Skip to content

Commit

Permalink
Rollup merge of #73059 - lcnr:outdated-comment, r=matthewjasper
Browse files Browse the repository at this point in the history
remove outdated comment

r? @matthewjasper
  • Loading branch information
Dylan-DPC authored Jun 7, 2020
2 parents 71230e1 + 32c488f commit b117a39
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustc_middle/ty/sty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -724,10 +724,6 @@ impl<'tcx> Binder<&'tcx List<ExistentialPredicate<'tcx>>> {
///
/// Trait references also appear in object types like `Foo<U>`, but in
/// that case the `Self` parameter is absent from the substitutions.
///
/// Note that a `TraitRef` introduces a level of region binding, to
/// account for higher-ranked trait bounds like `T: for<'a> Foo<&'a U>`
/// or higher-ranked object types.
#[derive(Copy, Clone, PartialEq, Eq, Hash, RustcEncodable, RustcDecodable)]
#[derive(HashStable, TypeFoldable)]
pub struct TraitRef<'tcx> {
Expand Down

0 comments on commit b117a39

Please sign in to comment.