diff options
Diffstat (limited to 'src/test/rustdoc-json/intra-doc-links/auxiliary')
-rw-r--r-- | src/test/rustdoc-json/intra-doc-links/auxiliary/enum_variant_in_trait_method.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/intra-doc-links/auxiliary/enum_variant_in_trait_method.rs b/src/test/rustdoc-json/intra-doc-links/auxiliary/enum_variant_in_trait_method.rs new file mode 100644 index 000000000..bfe85f59e --- /dev/null +++ b/src/test/rustdoc-json/intra-doc-links/auxiliary/enum_variant_in_trait_method.rs @@ -0,0 +1,8 @@ +pub trait Trait { + /// [`Enum::Variant`] + fn method() {} +} + +pub enum Enum { + Variant, +} |