about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-06 15:54:07 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-06 15:54:07 +0200
commit32c488f045fb9fe0fc45c6dacb9938ebc6767598 (patch)
tree709b149836a65c77c9297c1329a7d124005e5b68 /src
parent826cb062a659f7b719a8a0ab1497a78229318aab (diff)
downloadrust-32c488f045fb9fe0fc45c6dacb9938ebc6767598.tar.gz
rust-32c488f045fb9fe0fc45c6dacb9938ebc6767598.zip
remove outdated comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_middle/ty/sty.rs4
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> {