]> git.proxmox.com Git - rustc.git/blame - tests/rustdoc-ui/intra-doc/issue-108653-associated-items-7.rs
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / rustdoc-ui / intra-doc / issue-108653-associated-items-7.rs
CommitLineData
353b0b11
FG
1#![deny(rustdoc::broken_intra_doc_links)]
2#![allow(nonstandard_style)]
3
4pub trait Trait {
5 type MAX;
6}
7
8/// [`u32::MAX`]
9//~^ ERROR both an associated constant and an associated type
10impl Trait for u32 {
11 type MAX = u32;
12}