1 #![feature(inherent_associated_types)]
2 #![allow(incomplete_features)]
5 // @has 'foo/struct.Foo.html'
8 // There are 3 impl blocks with public item and one that should not be displayed
9 // because it only contains private items.
10 // @count - '//*[@class="impl has-srclink"]' 'impl Foo' 3
12 // Impl block only containing private items should not be displayed.
20 // But if any element of the impl block is public, it should be displayed.
23 pub const BAR: u32 = 0;