File tree 2 files changed +8
-9
lines changed
src/test/rustdoc-ui/coverage
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2
2
// check-pass
3
3
4
4
#![ feature( trait_alias) ]
5
+ #![ feature( min_type_alias_impl_trait) ]
5
6
6
7
/// look at this trait right here
7
8
pub trait ThisTrait {
@@ -30,10 +31,8 @@ impl ThisTrait for SomeStruct {
30
31
/// but what about those aliases? i hear they're pretty exotic
31
32
pub trait MyAlias = ThisTrait + Send + Sync ;
32
33
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 1
1
+-------------------------------------+------------+------------+------------+------------+
2
2
| File | Documented | Percentage | Examples | Percentage |
3
3
+-------------------------------------+------------+------------+------------+------------+
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% |
5
5
+-------------------------------------+------------+------------+------------+------------+
6
- | Total | 6 | 85.7 % | 0 | 0.0% |
6
+ | Total | 8 | 88.9 % | 0 | 0.0% |
7
7
+-------------------------------------+------------+------------+------------+------------+
You can’t perform that action at this time.
0 commit comments