diff options
Diffstat (limited to 'src/test/rustdoc/impl-box.rs')
-rw-r--r-- | src/test/rustdoc/impl-box.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/rustdoc/impl-box.rs b/src/test/rustdoc/impl-box.rs deleted file mode 100644 index 592b6c985..000000000 --- a/src/test/rustdoc/impl-box.rs +++ /dev/null @@ -1,16 +0,0 @@ -// https://github.com/rust-lang/rust/issues/92940 -// -// Show traits implemented on fundamental types that wrap local ones. - -pub struct MyType; - -// @has 'impl_box/struct.MyType.html' -// @has '-' '//*[@id="impl-Iterator-for-Box%3CMyType%3E"]' 'impl Iterator for Box<MyType>' - -impl Iterator for Box<MyType> { - type Item = (); - - fn next(&mut self) -> Option<Self::Item> { - todo!() - } -} |