diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/rustdoc/all.rs | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/rustdoc/all.rs')
-rw-r--r-- | src/test/rustdoc/all.rs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/test/rustdoc/all.rs b/src/test/rustdoc/all.rs deleted file mode 100644 index 4c8d02310..000000000 --- a/src/test/rustdoc/all.rs +++ /dev/null @@ -1,28 +0,0 @@ -#![crate_name = "foo"] - -// @has foo/all.html '//a[@href="struct.Struct.html"]' 'Struct' -// @has foo/all.html '//a[@href="enum.Enum.html"]' 'Enum' -// @has foo/all.html '//a[@href="union.Union.html"]' 'Union' -// @has foo/all.html '//a[@href="constant.CONST.html"]' 'CONST' -// @has foo/all.html '//a[@href="static.STATIC.html"]' 'STATIC' -// @has foo/all.html '//a[@href="fn.function.html"]' 'function' - -pub struct Struct; -pub enum Enum { - X, - Y, -} -pub union Union { - x: u32, -} -pub const CONST: u32 = 0; -pub static STATIC: &str = "baguette"; -pub fn function() {} - -mod private_module { - pub struct ReexportedStruct; -} - -// @has foo/all.html '//a[@href="struct.ReexportedStruct.html"]' 'ReexportedStruct' -// @!hasraw foo/all.html 'private_module' -pub use private_module::ReexportedStruct; |