diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-06-06 15:54:07 +0200 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-06-06 15:54:07 +0200 |
| commit | 32c488f045fb9fe0fc45c6dacb9938ebc6767598 (patch) | |
| tree | 709b149836a65c77c9297c1329a7d124005e5b68 /src | |
| parent | 826cb062a659f7b719a8a0ab1497a78229318aab (diff) | |
| download | rust-32c488f045fb9fe0fc45c6dacb9938ebc6767598.tar.gz rust-32c488f045fb9fe0fc45c6dacb9938ebc6767598.zip | |
remove outdated comment
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 f4962ced6c0..32a68529712 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> { |
