blob: 6e99f4365a78d0dcc580d1f8a09da3042b7b87c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![deny(rustdoc::broken_intra_doc_links)]
#![allow(nonstandard_style)]
pub trait Trait {
type MAX;
}
/// [`u32::MAX`]
//~^ ERROR both an associated constant and an associated type
impl Trait for u32 {
type MAX = u32;
}
|