diff options
| -rw-r--r-- | tests/rustdoc-ui/ice-assoc-type-loop-102154.rs (renamed from tests/rustdoc/issue-102154.rs) | 3 | ||||
| -rw-r--r-- | tests/rustdoc-ui/ice-method-where-clause-circular-100620.rs (renamed from tests/rustdoc/issue-100620.rs) | 3 | ||||
| -rw-r--r-- | tests/rustdoc-ui/ice-unresolved-import-100241.rs (renamed from tests/rustdoc/issue-100241.rs) | 2 | ||||
| -rw-r--r-- | tests/rustdoc/attributes-inlining-108281.rs (renamed from tests/rustdoc/issue-108281.rs) | 0 | ||||
| -rw-r--r-- | tests/rustdoc/bold-tag-101743.rs (renamed from tests/rustdoc/issue-101743-bold-tag.rs) | 0 | ||||
| -rw-r--r-- | tests/rustdoc/force-unstable-if-unmarked-106421-not-internal.rs (renamed from tests/rustdoc/issue-106421-not-internal.rs) | 5 | ||||
| -rw-r--r-- | tests/rustdoc/force-unstable-if-unmarked-106421.rs (renamed from tests/rustdoc/issue-106421.rs) | 4 | ||||
| -rw-r--r-- | tests/rustdoc/ice-associated-const-equality-105952.rs (renamed from tests/rustdoc/issue-105952.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/ice-intra-doc-links-107995.rs (renamed from tests/rustdoc/issue-107995.rs) | 0 | ||||
| -rw-r--r-- | tests/rustdoc/inline-impl-through-glob-import-100204.rs (renamed from tests/rustdoc/issue-100204-inline-impl-through-glob-import.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/issue-106142.rs | 14 | ||||
| -rw-r--r-- | tests/rustdoc/macro-export-crate-root-108231.rs (renamed from tests/rustdoc/issue-108231.rs) | 0 | ||||
| -rw-r--r-- | tests/rustdoc/macro-rules-broken-intra-doc-106142.rs | 17 | ||||
| -rw-r--r-- | tests/rustdoc/multiple-foreigns-w-same-name-99734.rs (renamed from tests/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/multiple-macro-rules-w-same-name-99221.rs (renamed from tests/rustdoc/issue-99221-multiple-macro-rules-w-same-name.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/multiple-mods-w-same-name-99734.rs (renamed from tests/rustdoc/issue-99734-multiple-mods-w-same-name.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/multiple-structs-w-same-name-99221.rs (renamed from tests/rustdoc/issue-99221-multiple-structs-w-same-name.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/overlapping-reexport-105735-2.rs (renamed from tests/rustdoc/issue-105735-overlapping-reexport-2.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/overlapping-reexport-105735.rs (renamed from tests/rustdoc/issue-105735-overlapping-reexport.rs) | 1 | ||||
| -rw-r--r-- | tests/rustdoc/pub-use-loop-107350.rs (renamed from tests/rustdoc/issue-107350.rs) | 0 | ||||
| -rw-r--r-- | tests/rustdoc/reexport-of-reexport-108679.rs (renamed from tests/rustdoc/issue-108679-reexport-of-reexport.rs) | 0 |
21 files changed, 40 insertions, 16 deletions
diff --git a/tests/rustdoc/issue-102154.rs b/tests/rustdoc-ui/ice-assoc-type-loop-102154.rs index b36f270806f..68e22ce6ea1 100644 --- a/tests/rustdoc/issue-102154.rs +++ b/tests/rustdoc-ui/ice-assoc-type-loop-102154.rs @@ -1,3 +1,6 @@ +//@ check-pass +// https://github.com/rust-lang/rust/issues/102154 + trait A<Y, N> { type B; } diff --git a/tests/rustdoc/issue-100620.rs b/tests/rustdoc-ui/ice-method-where-clause-circular-100620.rs index 097666eb515..e12b214410b 100644 --- a/tests/rustdoc/issue-100620.rs +++ b/tests/rustdoc-ui/ice-method-where-clause-circular-100620.rs @@ -1,3 +1,6 @@ +//@ check-pass +// https://github.com/rust-lang/rust/issues/100620 + pub trait Bar<S> {} pub trait Qux<T> {} diff --git a/tests/rustdoc/issue-100241.rs b/tests/rustdoc-ui/ice-unresolved-import-100241.rs index e4c613dd279..eef4b8355bf 100644 --- a/tests/rustdoc/issue-100241.rs +++ b/tests/rustdoc-ui/ice-unresolved-import-100241.rs @@ -3,6 +3,8 @@ // Check that this isn't an ICE //@ should-fail +// https://github.com/rust-lang/rust/issues/100241 + mod foo { pub use inner::S; //~^ ERROR unresolved imports `inner`, `foo::S` diff --git a/tests/rustdoc/issue-108281.rs b/tests/rustdoc/attributes-inlining-108281.rs index ba6c570b59b..ba6c570b59b 100644 --- a/tests/rustdoc/issue-108281.rs +++ b/tests/rustdoc/attributes-inlining-108281.rs diff --git a/tests/rustdoc/issue-101743-bold-tag.rs b/tests/rustdoc/bold-tag-101743.rs index a81767eeeeb..a81767eeeeb 100644 --- a/tests/rustdoc/issue-101743-bold-tag.rs +++ b/tests/rustdoc/bold-tag-101743.rs diff --git a/tests/rustdoc/issue-106421-not-internal.rs b/tests/rustdoc/force-unstable-if-unmarked-106421-not-internal.rs index f328a1036eb..a85cfa78cdc 100644 --- a/tests/rustdoc/issue-106421-not-internal.rs +++ b/tests/rustdoc/force-unstable-if-unmarked-106421-not-internal.rs @@ -2,7 +2,10 @@ //@ ignore-cross-compile // This is the version where a non-compiler-internal crate inlines a compiler-internal one. // In this case, the item shouldn't be documented, because regular users can't get at it. +// https://github.com/rust-lang/rust/issues/106421 +#![crate_name="bar"] + extern crate foo; -//@ !has issue_106421_not_internal/struct.FatalError.html '//*[@id="method.raise"]' 'fn raise' +//@ !has bar/struct.FatalError.html '//*[@id="method.raise"]' 'fn raise' pub use foo::FatalError; diff --git a/tests/rustdoc/issue-106421.rs b/tests/rustdoc/force-unstable-if-unmarked-106421.rs index c2064c71090..aa88a569aef 100644 --- a/tests/rustdoc/issue-106421.rs +++ b/tests/rustdoc/force-unstable-if-unmarked-106421.rs @@ -1,8 +1,10 @@ //@ aux-build:issue-106421-force-unstable.rs //@ ignore-cross-compile //@ compile-flags: -Zforce-unstable-if-unmarked +// https://github.com/rust-lang/rust/issues/106421 +#![crate_name="bar"] extern crate foo; -//@ has issue_106421/struct.FatalError.html '//*[@id="method.raise"]' 'fn raise' +//@ has bar/struct.FatalError.html '//*[@id="method.raise"]' 'fn raise' pub use foo::FatalError; diff --git a/tests/rustdoc/issue-105952.rs b/tests/rustdoc/ice-associated-const-equality-105952.rs index 173efb82f4b..1bcdfac7342 100644 --- a/tests/rustdoc/issue-105952.rs +++ b/tests/rustdoc/ice-associated-const-equality-105952.rs @@ -1,3 +1,4 @@ +// https://github.com/rust-lang/rust/issues/105952 #![crate_name = "foo"] #![feature(associated_const_equality)] diff --git a/tests/rustdoc/issue-107995.rs b/tests/rustdoc/ice-intra-doc-links-107995.rs index 57669909aa1..57669909aa1 100644 --- a/tests/rustdoc/issue-107995.rs +++ b/tests/rustdoc/ice-intra-doc-links-107995.rs diff --git a/tests/rustdoc/issue-100204-inline-impl-through-glob-import.rs b/tests/rustdoc/inline-impl-through-glob-import-100204.rs index 7f05e57ec09..ba6ed427871 100644 --- a/tests/rustdoc/issue-100204-inline-impl-through-glob-import.rs +++ b/tests/rustdoc/inline-impl-through-glob-import-100204.rs @@ -2,6 +2,7 @@ //@ build-aux-docs //@ ignore-cross-compile +// https://github.com/rust-lang/rust/issues/100204 #![crate_name="second"] extern crate first; diff --git a/tests/rustdoc/issue-106142.rs b/tests/rustdoc/issue-106142.rs deleted file mode 100644 index 52adc5dbbf1..00000000000 --- a/tests/rustdoc/issue-106142.rs +++ /dev/null @@ -1,14 +0,0 @@ -//@ has 'issue_106142/a/index.html' -//@ count 'issue_106142/a/index.html' '//ul[@class="item-table"]//li//a' 1 - -#![allow(rustdoc::broken_intra_doc_links)] - -pub mod a { - /// [`m`] - pub fn f() {} - - #[macro_export] - macro_rules! m { - () => {}; - } -} diff --git a/tests/rustdoc/issue-108231.rs b/tests/rustdoc/macro-export-crate-root-108231.rs index 0d3ad1b0571..0d3ad1b0571 100644 --- a/tests/rustdoc/issue-108231.rs +++ b/tests/rustdoc/macro-export-crate-root-108231.rs diff --git a/tests/rustdoc/macro-rules-broken-intra-doc-106142.rs b/tests/rustdoc/macro-rules-broken-intra-doc-106142.rs new file mode 100644 index 00000000000..0d146a3c5cd --- /dev/null +++ b/tests/rustdoc/macro-rules-broken-intra-doc-106142.rs @@ -0,0 +1,17 @@ +// https://github.com/rust-lang/rust/issues/106142 +#![crate_name="foo"] + +//@ has 'foo/a/index.html' +//@ count 'foo/a/index.html' '//ul[@class="item-table"]//li//a' 1 + +#![allow(rustdoc::broken_intra_doc_links)] + +pub mod a { + /// [`m`] + pub fn f() {} + + #[macro_export] + macro_rules! m { + () => {}; + } +} diff --git a/tests/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs b/tests/rustdoc/multiple-foreigns-w-same-name-99734.rs index d7c4f1db320..60a2aa388ee 100644 --- a/tests/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs +++ b/tests/rustdoc/multiple-foreigns-w-same-name-99734.rs @@ -2,6 +2,7 @@ //@ build-aux-docs //@ ignore-cross-compile +// https://github.com/rust-lang/rust/issues/99734 #![crate_name = "foo"] #[macro_use] diff --git a/tests/rustdoc/issue-99221-multiple-macro-rules-w-same-name.rs b/tests/rustdoc/multiple-macro-rules-w-same-name-99221.rs index e7fb4fb3f0e..4a1798a8496 100644 --- a/tests/rustdoc/issue-99221-multiple-macro-rules-w-same-name.rs +++ b/tests/rustdoc/multiple-macro-rules-w-same-name-99221.rs @@ -2,6 +2,7 @@ //@ build-aux-docs //@ ignore-cross-compile +// https://github.com/rust-lang/rust/issues/99221 #![crate_name = "foo"] #[macro_use] diff --git a/tests/rustdoc/issue-99734-multiple-mods-w-same-name.rs b/tests/rustdoc/multiple-mods-w-same-name-99734.rs index 627cfc0b80b..d48464c478f 100644 --- a/tests/rustdoc/issue-99734-multiple-mods-w-same-name.rs +++ b/tests/rustdoc/multiple-mods-w-same-name-99734.rs @@ -2,6 +2,7 @@ //@ build-aux-docs //@ ignore-cross-compile +// https://github.com/rust-lang/rust/issues/99734 #![crate_name = "foo"] #[macro_use] diff --git a/tests/rustdoc/issue-99221-multiple-structs-w-same-name.rs b/tests/rustdoc/multiple-structs-w-same-name-99221.rs index 8758342fe07..4c2f77fec23 100644 --- a/tests/rustdoc/issue-99221-multiple-structs-w-same-name.rs +++ b/tests/rustdoc/multiple-structs-w-same-name-99221.rs @@ -2,6 +2,7 @@ //@ build-aux-docs //@ ignore-cross-compile +// https://github.com/rust-lang/rust/issues/99221 #![crate_name = "foo"] #[macro_use] diff --git a/tests/rustdoc/issue-105735-overlapping-reexport-2.rs b/tests/rustdoc/overlapping-reexport-105735-2.rs index 946184c5a04..9f823ec5923 100644 --- a/tests/rustdoc/issue-105735-overlapping-reexport-2.rs +++ b/tests/rustdoc/overlapping-reexport-105735-2.rs @@ -1,4 +1,5 @@ // Regression test to ensure that both `AtomicU8` items are displayed but not the re-export. +// https://github.com/rust-lang/rust/issues/105735 #![crate_name = "foo"] #![no_std] diff --git a/tests/rustdoc/issue-105735-overlapping-reexport.rs b/tests/rustdoc/overlapping-reexport-105735.rs index 0fd17fd9577..2a2d0fa9830 100644 --- a/tests/rustdoc/issue-105735-overlapping-reexport.rs +++ b/tests/rustdoc/overlapping-reexport-105735.rs @@ -1,4 +1,5 @@ // Regression test to ensure that both `AtomicU8` items are displayed but not the re-export. +// https://github.com/rust-lang/rust/issues/105735 #![crate_name = "foo"] #![no_std] diff --git a/tests/rustdoc/issue-107350.rs b/tests/rustdoc/pub-use-loop-107350.rs index 4ec9133e2d2..4ec9133e2d2 100644 --- a/tests/rustdoc/issue-107350.rs +++ b/tests/rustdoc/pub-use-loop-107350.rs diff --git a/tests/rustdoc/issue-108679-reexport-of-reexport.rs b/tests/rustdoc/reexport-of-reexport-108679.rs index 5c1b4bcbd83..5c1b4bcbd83 100644 --- a/tests/rustdoc/issue-108679-reexport-of-reexport.rs +++ b/tests/rustdoc/reexport-of-reexport-108679.rs |
