blob: 2f8ee1566bd4e76cf3dc2c21f87b8fbd08b752f6 [file] [log] [blame] [edit]
#![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 = ();
}