Skip to content

Commit

Permalink
Add test for compiler reexports removal
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 12, 2020
1 parent e3c3efe commit 0faaa49
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/rustdoc/no-compiler-reexport.rs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0faaa49

Please sign in to comment.