mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 03:18:04 +00:00
10 lines
250 B
Rust
10 lines
250 B
Rust
//@ compile-flags: --force-warn pub_use_of_private_extern_crate
|
|
//@ check-pass
|
|
|
|
extern crate core;
|
|
pub use core as reexported_core;
|
|
//~^ warning: extern crate `core` is private
|
|
//~| warning: this was previously accepted by the compiler
|
|
|
|
fn main() {}
|