Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
master
rust/tests/rustdoc/inline_cross/hidden-use.rs

13 lines
268 B
Rust
Raw Permalink Normal View History

[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
2024-02-22 12:10:29 +00:00
//@ aux-build:rustdoc-hidden.rs
//@ build-aux-docs
//@ ignore-cross-compile
rustdoc: Don't inline #[doc(hidden)] pub use Currently if a `#[doc(hidden)] pub use` item is inlined the `hidden` attribute is ignored so the item can appear in the docs. By never inlining such imports, they can be stripped.
2016-06-07 01:20:12 +01:00
extern crate rustdoc_hidden;
Update `tests/rustdoc` to new test syntax
2024-06-21 14:03:08 +02:00
//@ has hidden_use/index.html
//@ !hasraw - 'rustdoc_hidden'
//@ !hasraw - 'Bar'
//@ !has hidden_use/struct.Bar.html
rustdoc: Don't inline #[doc(hidden)] pub use Currently if a `#[doc(hidden)] pub use` item is inlined the `hidden` attribute is ignored so the item can appear in the docs. By never inlining such imports, they can be stripped.
2016-06-07 01:20:12 +01:00
#[doc(hidden)]
pub use rustdoc_hidden::Bar;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1166ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API