Add URL to test cases

This commit is contained in:
Michael Howell 2023-10-16 16:12:17 -07:00
parent 69dc19043b
commit 43b493ebc0
20 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/29503
#![crate_name="issue_29503"] #![crate_name="issue_29503"]
use std::fmt; use std::fmt;

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/33302
#![crate_name="issue_33302"] #![crate_name="issue_33302"]
// Ensure constant and array length values are not taken from source // Ensure constant and array length values are not taken from source

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/32890
#![crate_name="issue_32890"] #![crate_name="issue_32890"]
// @has issue_32890/struct.Foo.html // @has issue_32890/struct.Foo.html

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/29449
#![crate_name="issue_29449"] #![crate_name="issue_29449"]
// @has issue_29449/struct.Foo.html // @has issue_29449/struct.Foo.html

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/33069
#![crate_name="issue_33069"] #![crate_name="issue_33069"]
pub trait Bar {} pub trait Bar {}

View File

@ -1,5 +1,6 @@
// compile-flags:--test --cfg feature="bar" // compile-flags:--test --cfg feature="bar"
// https://github.com/rust-lang/rust/issues/30252
#![crate_name="issue_30252"] #![crate_name="issue_30252"]
/// ```rust /// ```rust

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/32556
#![crate_name="issue_32556"] #![crate_name="issue_32556"]
/// Blah blah blah /// Blah blah blah

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/34025
#![crate_name = "foo"] #![crate_name = "foo"]
// @!has 'foo/sys/index.html' // @!has 'foo/sys/index.html'

View File

@ -1,5 +1,6 @@
// Test that associated item impls on primitive types don't crash rustdoc // Test that associated item impls on primitive types don't crash rustdoc
// https://github.com/rust-lang/rust/issues/31808
#![crate_name="issue_31808"] #![crate_name="issue_31808"]
pub trait Foo { pub trait Foo {

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/33592
#![crate_name = "foo"] #![crate_name = "foo"]
pub trait Foo<T> {} pub trait Foo<T> {}

View File

@ -1,6 +1,7 @@
// aux-build:issue-29584.rs // aux-build:issue-29584.rs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/29584
#![crate_name="issue_29584"] #![crate_name="issue_29584"]
extern crate issue_29584; extern crate issue_29584;

View File

@ -3,6 +3,7 @@
// build-aux-docs // build-aux-docs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/33178
#![crate_name="issue_33178"] #![crate_name="issue_33178"]
// @has issue_33178/index.html // @has issue_33178/index.html

View File

@ -2,6 +2,7 @@
// aux-build:issue-30109-1.rs // aux-build:issue-30109-1.rs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/30109
#![crate_name="issue_30109"] #![crate_name="issue_30109"]
pub mod quux { pub mod quux {

View File

@ -2,6 +2,7 @@
// aux-build:variant-struct.rs // aux-build:variant-struct.rs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/33178
#![crate_name="issue_33178_1"] #![crate_name="issue_33178_1"]
// @has issue_33178_1/index.html // @has issue_33178_1/index.html

View File

@ -2,6 +2,7 @@
// build-aux-docs // build-aux-docs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/32395
#![crate_name="issue_32395"] #![crate_name="issue_32395"]
// @has variant_struct/enum.Foo.html // @has variant_struct/enum.Foo.html

View File

@ -2,6 +2,7 @@
// build-aux-docs // build-aux-docs
// ignore-cross-compile // ignore-cross-compile
// https://github.com/rust-lang/rust/issues/34274
#![crate_name = "foo"] #![crate_name = "foo"]
extern crate issue_34274; extern crate issue_34274;

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/32374
#![feature(staged_api)] #![feature(staged_api)]
#![doc(issue_tracker_base_url = "https://issue_url/")] #![doc(issue_tracker_base_url = "https://issue_url/")]
#![unstable(feature = "test", issue = "32374")] #![unstable(feature = "test", issue = "32374")]

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/31899
#![crate_name="issue_31899"] #![crate_name="issue_31899"]
// @has issue_31899/index.html // @has issue_31899/index.html

View File

@ -1,5 +1,6 @@
// @has issue_30366/index.html '//a/@href' 'http://www.rust-lang.org/' // @has issue_30366/index.html '//a/@href' 'http://www.rust-lang.org/'
// https://github.com/rust-lang/rust/issues/30366
#![crate_name="issue_30366"] #![crate_name="issue_30366"]
/// Describe it. [Link somewhere][1]. /// Describe it. [Link somewhere][1].

View File

@ -1,5 +1,6 @@
// Regression test for <https://github.com/rust-lang/rust/issues/32077>. // Regression test for <https://github.com/rust-lang/rust/issues/32077>.
// https://github.com/rust-lang/rust/issues/32077
#![crate_name = "foo"] #![crate_name = "foo"]
pub struct GenericStruct<T>(T); pub struct GenericStruct<T>(T);