summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/issue-108653-associated-items-8.rs
blob: 2f8ee1566bd4e76cf3dc2c21f87b8fbd08b752f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![deny(rustdoc::broken_intra_doc_links)]
#![allow(nonstandard_style)]

/// [`u32::MAX`]
//~^ ERROR both an associated constant and an associated type
pub trait T {
    type MAX;
}

impl T for u32 {
    type MAX = ();
}