1 #![deny(rustdoc::broken_intra_doc_links)]
2 #![allow(non_camel_case_types)]
3 #![allow(non_upper_case_globals)]
7 pub struct ambiguous {}
10 macro_rules
! multi_conflict { () => {}
}
12 #[allow(non_camel_case_types)]
13 pub struct multi_conflict {}
15 pub fn multi_conflict() {}
17 pub mod type_and_value {}
19 pub const type_and_value
: i32 = 0;
27 /// [`ambiguous`] is ambiguous. //~ERROR `ambiguous`
29 /// [ambiguous] is ambiguous. //~ERROR ambiguous
31 /// [`multi_conflict`] is a three-way conflict. //~ERROR `multi_conflict`
33 /// Ambiguous [type_and_value]. //~ERROR type_and_value
35 /// Ambiguous non-implied shortcut link [`foo::bar`]. //~ERROR `foo::bar`
38 /// [true] //~ ERROR `true` is both a module and a builtin type