| // This test ensures that impl associated items always follow this order: |
| #![feature(inherent_associated_types)] |
| #![allow(incomplete_features)] |
| //@ has 'foo/struct.Bar.html' |
| //@ has - '//*[@id="implementations-list"]//*[@class="impl-items"]/section[3]/h4' \ |
| //@ has - '//*[@id="implementations-list"]//*[@class="impl-items"]/section[1]/h4' \ |
| // 'pub const X: u8 = 12u8' |
| //@ has - '//*[@id="implementations-list"]//*[@class="impl-items"]/section[2]/h4' \ |
| //@ has - '//*[@id="trait-implementations-list"]//*[@class="impl-items"]/section[2]/h4' \ |
| //@ has - '//*[@id="trait-implementations-list"]//*[@class="impl-items"]/section[1]/h4' \ |
| // 'const W: u32 = 12u32' |
| //@ has - '//*[@id="trait-implementations-list"]//*[@class="impl-items"]/section[3]/h4' \ |