diff options
Diffstat (limited to 'tests/rustdoc/auxiliary/masked.rs')
-rw-r--r-- | tests/rustdoc/auxiliary/masked.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc/auxiliary/masked.rs b/tests/rustdoc/auxiliary/masked.rs new file mode 100644 index 000000000..3d722d5e0 --- /dev/null +++ b/tests/rustdoc/auxiliary/masked.rs @@ -0,0 +1,14 @@ +#[derive(Clone)] +pub struct MaskedStruct; + +pub trait MaskedTrait { + fn masked_method(); +} + +impl MaskedTrait for String { + fn masked_method() {} +} + +pub trait MaskedBlanketTrait {} + +impl<T> MaskedBlanketTrait for T {} |