Skip to content

Commit

Permalink
rustdoc: add URLs for test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Sep 28, 2023
1 parent 7cd8b2c commit 0487237
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/rustdoc/anchor-id-trait-method-15169.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @has issue_15169/struct.Foo.html '//*[@id="method.eq"]' 'fn eq'

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

#[derive(PartialEq)]
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/assoc-type-bindings-20646.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-20646.rs
// ignore-cross-compile

// https://github.com/rust-lang/rust/issues/20646
#![crate_name="issue_20646"]
#![feature(associated_types)]

Expand Down
2 changes: 2 additions & 0 deletions tests/rustdoc/deref-methods-19190-foreign-type.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// https://github.com/rust-lang/rust/issues/19190

#![crate_name="issue_19190_2"]

use std::ops::Deref;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/deref-methods-19190-inline.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-19190-3.rs
// ignore-cross-compile

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

extern crate issue_19190_3;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/deref-methods-19190.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/19190
#![crate_name="issue_19190"]

use std::ops::Deref;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/doc-hidden-method-13698.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-13698.rs
// ignore-cross-compile

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

extern crate issue_13698;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/doc-test-attr-18199.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// compile-flags:--test
// https://github.com/rust-lang/rust/issues/18199

#![doc(test(attr(feature(staged_api))))]

Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/document-hidden-items-15347.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// compile-flags: -Z unstable-options --document-hidden-items
// https://github.com/rust-lang/rust/issues/15347

#![crate_name="issue_15347"]

Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/highlight-invalid-rust-12834.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Tests that failing to syntax highlight a rust code-block doesn't cause
// rustdoc to fail, while still rendering the code-block (without highlighting).
// https://github.com/rust-lang/rust/issues/12834

#![crate_name="issue_12834"]
#![allow(rustdoc::invalid_rust_codeblocks)]
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/ice-type-error-19181.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// compile-flags:--test
// https://github.com/rust-lang/rust/issues/19181

// rustdoc should not panic when target crate has compilation errors

Expand Down
2 changes: 2 additions & 0 deletions tests/rustdoc/impl-ref-20175.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// https://github.com/rust-lang/rust/issues/20175

#![crate_name="issue_20175"]

pub trait Foo {
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/infinite-redirection-16265-1.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/16265
#![crate_name="issue_16265_1"]

pub struct Foo;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/infinite-redirection-16265-2.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/16265
#![crate_name="issue_16265_2"]

// @hasraw issue_16265_2/index.html 'source'
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline-assoc-type-20727-bindings.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-20727.rs
// ignore-cross-compile

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

extern crate issue_20727;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline-assoc-type-20727-bounds-deref.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-20727.rs
// ignore-cross-compile

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

extern crate issue_20727;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline-assoc-type-20727-bounds-index.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-20727.rs
// ignore-cross-compile

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

extern crate issue_20727;
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/inline-assoc-type-20727-bounds.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// aux-build:issue-20727.rs
// ignore-cross-compile

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

extern crate issue_20727;
Expand Down
2 changes: 2 additions & 0 deletions tests/rustdoc/macro-ice-16019.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// https://github.com/rust-lang/rust/issues/16019

macro_rules! define_struct {
($rounds:expr) => (
struct Struct {
Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/method-link-foreign-trait-impl-17476.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// aux-build:issue-17476.rs
// ignore-cross-compile
// https://github.com/rust-lang/rust/issues/17476

#![crate_name="issue_17476"]

Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/primitive-raw-pointer-dox-15318-3.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/15318
#![crate_name="issue_15318_3"]
#![feature(rustc_attrs)]

Expand Down
1 change: 1 addition & 0 deletions tests/rustdoc/primitive-raw-pointer-link-15318.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// aux-build:issue-15318.rs
// ignore-cross-compile
// https://github.com/rust-lang/rust/issues/15318

#![crate_name="issue_15318"]
#![no_std]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// aux-build:issue-15318.rs
// ignore-cross-compile
// https://github.com/rust-lang/rust/issues/15318

#![crate_name="issue_15318_2"]
#![no_std]
Expand Down

0 comments on commit 0487237

Please sign in to comment.