diff options
Diffstat (limited to 'tests/rustdoc/issue-16265-1.rs')
-rw-r--r-- | tests/rustdoc/issue-16265-1.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-16265-1.rs b/tests/rustdoc/issue-16265-1.rs new file mode 100644 index 000000000..2fda637a6 --- /dev/null +++ b/tests/rustdoc/issue-16265-1.rs @@ -0,0 +1,10 @@ +pub struct Foo; + +// @hasraw issue_16265_1/traits/index.html 'source' +pub mod traits { + impl PartialEq for super::Foo { + fn eq(&self, _: &super::Foo) -> bool { + true + } + } +} |