about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/traits.rs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-08-01 00:41:54 +0100
committervarkor <github@varkor.com>2019-08-02 02:44:36 +0100
commitc28ce3e4ca021aea5ca25227c0e46d9b47095db6 (patch)
treebaae77321295ecfd9077bc52342ea5ba78cc9eec /src/test/rustdoc-ui/coverage/traits.rs
parentfc48541ab19cdd68a2b0228004e64d3cbb7a1ecb (diff)
downloadrust-c28ce3e4ca021aea5ca25227c0e46d9b47095db6.tar.gz
rust-c28ce3e4ca021aea5ca25227c0e46d9b47095db6.zip
Replace "existential" by "opaque"
Diffstat (limited to 'src/test/rustdoc-ui/coverage/traits.rs')
-rw-r--r--src/test/rustdoc-ui/coverage/traits.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/rustdoc-ui/coverage/traits.rs b/src/test/rustdoc-ui/coverage/traits.rs
index 40d68423f1b..797ac00ad53 100644
--- a/src/test/rustdoc-ui/coverage/traits.rs
+++ b/src/test/rustdoc-ui/coverage/traits.rs
@@ -29,9 +29,10 @@ impl ThisTrait for SomeStruct {
 /// but what about those aliases? i hear they're pretty exotic
 pub trait MyAlias = ThisTrait + Send + Sync;
 
-// FIXME(58624): once rustdoc can process existential types, we need to make sure they're counted
-// /// woah, getting all existential in here
-// pub existential type ThisExists: ThisTrait;
+// FIXME(58624): once rustdoc can process opaque `impl Trait` types,
+// we need to make sure they're counted
+// /// woah, getting all abstract in here
+// pub type ThisExists = impl ThisTrait;
 //
 // /// why don't we get a little more concrete
 // pub fn defines() -> ThisExists { SomeStruct {} }