diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-07 02:29:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-07 02:29:02 +0200 |
| commit | b117a3956f38dfb78c32f30951cd92db55582f7a (patch) | |
| tree | 266cd6e747f64ea69c96a0cf833a6e4dac802600 /src | |
| parent | 71230e135b2c7b7906389796c81f74c490d5e380 (diff) | |
| parent | 32c488f045fb9fe0fc45c6dacb9938ebc6767598 (diff) | |
| download | rust-b117a3956f38dfb78c32f30951cd92db55582f7a.tar.gz rust-b117a3956f38dfb78c32f30951cd92db55582f7a.zip | |
Rollup merge of #73059 - lcnr:outdated-comment, r=matthewjasper
remove outdated comment r? @matthewjasper
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_middle/ty/sty.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_middle/ty/sty.rs b/src/librustc_middle/ty/sty.rs index f01b9751c40..5d4c2a54267 100644 --- a/src/librustc_middle/ty/sty.rs +++ b/src/librustc_middle/ty/sty.rs @@ -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> { |
