From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/rustdoc/issue-20727-4.rs | 40 --------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/test/rustdoc/issue-20727-4.rs (limited to 'src/test/rustdoc/issue-20727-4.rs') diff --git a/src/test/rustdoc/issue-20727-4.rs b/src/test/rustdoc/issue-20727-4.rs deleted file mode 100644 index 643f93875..000000000 --- a/src/test/rustdoc/issue-20727-4.rs +++ /dev/null @@ -1,40 +0,0 @@ -// aux-build:issue-20727.rs -// ignore-cross-compile - -extern crate issue_20727; - -// @has issue_20727_4/trait.Index.html -pub trait Index { - // @has - '//*[@class="rust trait"]' 'trait Index {' - // @has - '//*[@class="rust trait"]' 'type Output: ?Sized' - type Output: ?Sized; - - // @has - '//*[@class="rust trait"]' \ - // 'fn index(&self, index: Idx) -> &Self::Output' - fn index(&self, index: Idx) -> &Self::Output; -} - -// @has issue_20727_4/trait.IndexMut.html -pub trait IndexMut: Index { - // @has - '//*[@class="rust trait"]' \ - // 'trait IndexMut: Index {' - // @has - '//*[@class="rust trait"]' \ - // 'fn index_mut(&mut self, index: Idx) -> &mut Self::Output;' - fn index_mut(&mut self, index: Idx) -> &mut Self::Output; -} - -pub mod reexport { - // @has issue_20727_4/reexport/trait.Index.html - // @has - '//*[@class="rust trait"]' 'trait Indexwhere Idx: ?Sized,{' - // @has - '//*[@class="rust trait"]' 'type Output: ?Sized' - // @has - '//*[@class="rust trait"]' \ - // 'fn index(&self, index: Idx) -> &Self::Output' - pub use issue_20727::Index; - - // @has issue_20727_4/reexport/trait.IndexMut.html - // @has - '//*[@class="rust trait"]' \ - // 'trait IndexMut: Indexwhere Idx: ?Sized,{' - // @has - '//*[@class="rust trait"]' \ - // 'fn index_mut(&mut self, index: Idx) -> &mut Self::Output;' - pub use issue_20727::IndexMut; -} -- cgit v1.2.3