diff options
Diffstat (limited to 'src/test/rustdoc/fn-bound.rs')
-rw-r--r-- | src/test/rustdoc/fn-bound.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/rustdoc/fn-bound.rs b/src/test/rustdoc/fn-bound.rs deleted file mode 100644 index 9e060ff20..000000000 --- a/src/test/rustdoc/fn-bound.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Regression test for #100143 - -use std::iter::Peekable; - -pub struct Span<F: Fn(&i32)> { - inner: Peekable<ConditionalIterator<F>>, -} - -pub struct ConditionalIterator<F> { - f: F, -} - - -// @has 'fn_bound/struct.ConditionalIterator.html' '//h3[@class="code-header"]' 'impl<F: Fn(&i32)> Iterator for ConditionalIterator<F>' -impl<F: Fn(&i32)> Iterator for ConditionalIterator<F> { - type Item = (); - - fn next(&mut self) -> Option<Self::Item> { - todo!() - } -} |