mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Add test for compiler reexports removal
This commit is contained in:
parent
e3c3efe5ab
commit
0faaa499cc
7
src/test/rustdoc/no-compiler-reexport.rs
Normal file
7
src/test/rustdoc/no-compiler-reexport.rs
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user