Skip to content

Commit

Permalink
Add URL to test case issues
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Oct 4, 2023
1 parent 9266270 commit a46ccd8
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/rustdoc/anchor-id-duplicate-method-name-25001.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/25001
#![crate_name="issue_25001"]

// @has issue_25001/struct.Foo.html
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/anchor-id-trait-tymethod-28478.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/28478
#![crate_name="issue_28478"]

#![feature(associated_type_defaults)]
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/deduplicate-glob-import-impl-21474.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/21474
#![crate_name="issue_21474"]

pub use inner::*;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/deduplicate-trait-impl-22025.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-22025.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/22025
#![crate_name="issue_22025"]

extern crate issue_22025;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/doctest-hide-empty-line-23106.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// compile-flags:--test

// https://github.com/rust-lang/rust/issues/23106
#![crate_name="issue_23106"]

/// ```
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/doctest-markdown-inline-parse-23744.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// compile-flags:--test

// https://github.com/rust-lang/rust/issues/23744
#![crate_name="issue_23744"]

/// Example of rustdoc incorrectly parsing <code>```rust,should_panic</code>.
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/doctest-multi-line-string-literal-25944.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// compile-flags:--test

// https://github.com/rust-lang/rust/issues/25944
#![crate_name="issue_25944"]

/// ```
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/extern-fn-22038.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/22038
#![crate_name="issue_22038"]

extern "C" {
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/ice-reexport-crate-root-28927.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// aux-build:issue-28927-1.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/28927
#![crate_name="issue_28927"]

pub extern crate issue_28927_1 as inner1;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/impl-assoc-type-21092.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-21092.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/21092
#![crate_name="issue_21092"]

extern crate issue_21092;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline_cross/const-fn-27362.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-27362-aux.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/27362
#![crate_name="issue_27362"]

extern crate issue_27362_aux;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// aux-build:issue-23207-2.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/23207
#![crate_name="issue_23207"]

extern crate issue_23207_2;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline_cross/sugar-closure-crate-21801.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-21801.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/21801
#![crate_name="issue_21801"]

extern crate issue_21801;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/macro-doc-comment-23812.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/23812
#![crate_name="issue_23812"]

macro_rules! doc {
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/markdown-table-escape-pipe-27862.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/27862
#![crate_name="issue_27862"]

/// Tests | Table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![feature(rustdoc_internals)]
#![no_std]

// https://github.com/rust-lang/rust/issues/23511
#![crate_name="issue_23511"]

pub mod str {
Expand Down
3 changes: 2 additions & 1 deletion tests/rustdoc/src-link-external-macro-26606.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
// ignore-cross-compile
// build-aux-docs

// https://github.com/rust-lang/rust/issues/26606
#![crate_name="issue_26606"]

// @has issue_26606_macro/macro.make_item.html
#[macro_use]
extern crate issue_26606_macro;

// @has issue_26606/constant.FOO.html
// @has - '//a[@href="../src/issue_26606/src-link-external-macro-26606.rs.html#13"]' 'source'
// @has - '//a[@href="../src/issue_26606/src-link-external-macro-26606.rs.html#14"]' 'source'
make_item!(FOO);
1 change: 1 addition & 0 deletions tests/rustdoc/src-mod-path-absolute-26995.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// ignore-windows
// compile-flags: --no-defaults

// https://github.com/rust-lang/rust/issues/26995
#![crate_name="issue_26995"]

// @has src/issue_26995/dev/null.html
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/staged-api-feature-issue-27759.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/27759
#![crate_name="issue_27759"]

#![feature(staged_api)]
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/strip-priv-imports-pass-27104.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// aux-build:empty.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/27104
#![crate_name="issue_27104"]

// @has issue_27104/index.html
Expand Down

0 comments on commit a46ccd8

Please sign in to comment.