File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
src/test/rustdoc-ui/coverage Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 22// check-pass
33
44#![ feature( trait_alias) ]
5+ #![ feature( min_type_alias_impl_trait) ]
56
67/// look at this trait right here
78pub trait ThisTrait {
@@ -30,10 +31,8 @@ impl ThisTrait for SomeStruct {
3031/// but what about those aliases? i hear they're pretty exotic
3132pub trait MyAlias = ThisTrait + Send + Sync ;
3233
33- // FIXME(58624): once rustdoc can process opaque `impl Trait` types,
34- // we need to make sure they're counted
35- // /// woah, getting all opaque in here
36- // pub type ThisExists = impl ThisTrait;
37- //
38- // /// why don't we get a little more concrete
39- // pub fn defines() -> ThisExists { SomeStruct {} }
34+ /// woah, getting all opaque in here
35+ pub type ThisExists = impl ThisTrait ;
36+
37+ /// why don't we get a little more concrete
38+ pub fn defines ( ) -> ThisExists { SomeStruct { } }
Original file line number Diff line number Diff line change 11+-------------------------------------+------------+------------+------------+------------+
22| File | Documented | Percentage | Examples | Percentage |
33+-------------------------------------+------------+------------+------------+------------+
4- | ...st/rustdoc-ui/coverage/traits.rs | 6 | 85.7 % | 0 | 0.0% |
4+ | ...st/rustdoc-ui/coverage/traits.rs | 8 | 88.9 % | 0 | 0.0% |
55+-------------------------------------+------------+------------+------------+------------+
6- | Total | 6 | 85.7 % | 0 | 0.0% |
6+ | Total | 8 | 88.9 % | 0 | 0.0% |
77+-------------------------------------+------------+------------+------------+------------+
You can’t perform that action at this time.
0 commit comments