File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 18
18
// @has - '//a/@href' '../intra_links/constant.THIS_CONST.html'
19
19
// @has - '//a/@href' '../intra_links/static.THIS_STATIC.html'
20
20
// @has - '//a/@href' '../intra_links/macro.this_macro.html'
21
+ // @has - '//a/@href' '../intra_links/trait.SoAmbiguous.html'
22
+ // @has - '//a/@href' '../intra_links/fn.SoAmbiguous.html'
21
23
//! In this crate we would like to link to:
22
24
//!
23
25
//! * [`ThisType`](ThisType)
29
31
//! * [`THIS_CONST`](THIS_CONST)
30
32
//! * [`THIS_STATIC`](THIS_STATIC)
31
33
//! * [`this_macro`](this_macro!)
34
+ //!
35
+ //! In addition, there's some specifics we want to look at. There's [a trait called
36
+ //! SoAmbiguous][ambig-trait], but there's also [a function called SoAmbiguous][ambig-fn] too!
37
+ //! Whatever shall we do?
38
+ //!
39
+ //! [ambig-trait]: trait@SoAmbiguous
40
+ //! [ambig-fn]: SoAmbiguous()
32
41
33
42
#[ macro_export]
34
43
macro_rules! this_macro {
@@ -44,3 +53,8 @@ pub union ThisUnion { this_field: usize, }
44
53
pub fn this_function ( ) { }
45
54
pub const THIS_CONST : usize = 5usize ;
46
55
pub static THIS_STATIC : usize = 5usize ;
56
+
57
+ pub trait SoAmbiguous { }
58
+
59
+ #[ allow( bad_style) ]
60
+ pub fn SoAmbiguous ( ) { }
You can’t perform that action at this time.
0 commit comments