diff options
| author | Michael Howell <michael@notriddle.com> | 2024-07-12 17:36:21 -0700 | 
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-07-12 17:36:21 -0700 | 
| commit | 4d35754c46b4e0183770f4d7272b0e70a6553b19 (patch) | |
| tree | 6edf150747e725ad0aab6926c642d0e4522770e6 /tests/rustdoc/issue-106421-not-internal.rs | |
| parent | c6727fc9b5c64cefa7263486497ee95e529bd0f8 (diff) | |
| download | rust-4d35754c46b4e0183770f4d7272b0e70a6553b19.tar.gz rust-4d35754c46b4e0183770f4d7272b0e70a6553b19.zip | |
Add URL and crate_name to test cases
Diffstat (limited to 'tests/rustdoc/issue-106421-not-internal.rs')
| -rw-r--r-- | tests/rustdoc/issue-106421-not-internal.rs | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/tests/rustdoc/issue-106421-not-internal.rs b/tests/rustdoc/issue-106421-not-internal.rs index f328a1036eb..a85cfa78cdc 100644 --- a/tests/rustdoc/issue-106421-not-internal.rs +++ b/tests/rustdoc/issue-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; | 
