rust/tests/rustdoc-ui/intra-doc/issue-108653-associated-items-8.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
220 B
Rust
Raw Normal View History

2023-03-03 07:54:56 -06:00
#![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 = ();
}