Files
rust/tests/ui/issues/issue-74236/auxiliary/dep.rs

9 lines
255 B
Rust
Raw Normal View History

//@ edition:2018
2020-07-11 14:42:08 +03:00
mod private { pub struct Pub; }
// Reexport built-in attribute without a DefId (requires Rust 2018).
pub use cfg_attr as attr;
// This export needs to be after the built-in attribute to trigger the bug.
pub use private::Pub as Renamed;