Skip to content

Commit 78330bd

Browse files
authored
Unrolled build for rust-lang#140673
Rollup merge of rust-lang#140673 - GuillaumeGomez:clean-rustdoc-tests, r=notriddle Clean rustdoc tests folder We were starting to have way too many tests in the `tests/rustdoc/` folder so I moved some of them in sub-folders. We now have less than 300 tests at the "top level" so I guess it's good enough for now. So this PR just moves tests in sub-folders and that's pretty much it. 😃 r? ``@notriddle``
2 parents 7295b08 + 27e39c3 commit 78330bd

File tree

337 files changed

+48
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+48
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// intentionally empty
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pub enum Foo {
2+
Bar {
3+
qux: (),
4+
}
5+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
pub struct Option;
2+
impl Option {
3+
pub fn unwrap(self) {}
4+
}
5+
6+
mod macros {
7+
use crate::Option;
8+
/// [`Option::unwrap`]
9+
#[macro_export]
10+
macro_rules! print {
11+
() => ()
12+
}
13+
}
14+
15+
mod structs {
16+
use crate::Option;
17+
/// [`Option::unwrap`]
18+
pub struct Print;
19+
}
20+
pub use structs::Print;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#![feature(extern_types)]
2+
3+
pub mod foo_mod {}
4+
extern "C" {
5+
pub fn foo_ffn();
6+
pub static FOO_FSTATIC: FooStruct;
7+
pub type FooFType;
8+
}
9+
pub fn foo_fn() {}
10+
pub trait FooTrait {}
11+
pub struct FooStruct;
12+
pub enum FooEnum {}
13+
pub union FooUnion {
14+
x: (),
15+
}
16+
pub type FooType = FooStruct;
17+
pub static FOO_STATIC: FooStruct = FooStruct;
18+
pub const FOO_CONSTANT: FooStruct = FooStruct;
19+
#[macro_export]
20+
macro_rules! foo_macro {
21+
() => ();
22+
}

0 commit comments

Comments
 (0)