2017-03-28 02:02:19 -05:00
|
|
|
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
|
|
|
// aux-build:pub-use-extern-macros.rs
|
|
|
|
|
2018-04-15 08:59:00 -05:00
|
|
|
#![feature(use_extern_macros)]
|
2017-03-28 02:02:19 -05:00
|
|
|
|
2018-04-15 08:59:00 -05:00
|
|
|
extern crate macros;
|
2017-03-28 02:02:19 -05:00
|
|
|
|
2018-04-15 08:59:00 -05:00
|
|
|
// @has pub_use_extern_macros/macro.bar.html
|
2018-05-23 20:53:45 -05:00
|
|
|
// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::bar;'
|
2017-03-28 02:02:19 -05:00
|
|
|
pub use macros::bar;
|
|
|
|
|
|
|
|
// @has pub_use_extern_macros/macro.baz.html
|
2018-05-23 20:53:45 -05:00
|
|
|
// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::baz;'
|
2017-03-28 02:02:19 -05:00
|
|
|
#[doc(inline)]
|
|
|
|
pub use macros::baz;
|
|
|
|
|
2018-04-15 08:59:00 -05:00
|
|
|
// @has pub_use_extern_macros/macro.quux.html
|
2018-05-23 20:53:45 -05:00
|
|
|
// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::quux;'
|
2017-03-28 02:02:19 -05:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub use macros::quux;
|