diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-10 15:34:18 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-12 11:26:01 +0200 |
| commit | 0faaa499ccc9fb4835251845cf457bae385f07f5 (patch) | |
| tree | a0d6ff21c53b9f53dc40d778c95931e7ad8a63de /src/test/rustdoc | |
| parent | e3c3efe5abb2025fdc8a4937b22e76fbd8093dd5 (diff) | |
| download | rust-0faaa499ccc9fb4835251845cf457bae385f07f5.tar.gz rust-0faaa499ccc9fb4835251845cf457bae385f07f5.zip | |
Add test for compiler reexports removal
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/no-compiler-reexport.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc/no-compiler-reexport.rs b/src/test/rustdoc/no-compiler-reexport.rs new file mode 100644 index 00000000000..6d50325fed5 --- /dev/null +++ b/src/test/rustdoc/no-compiler-reexport.rs @@ -0,0 +1,7 @@ +// compile-flags: --no-defaults + +#![crate_name = "foo"] + +// @has 'foo/index.html' '//code' 'extern crate std;' +// @!has 'foo/index.html' '//code' 'use std::prelude::v1::*;' +pub struct Foo; |
