rust/tests/ui/issues/issue-74236/auxiliary/dep.rs
2023-01-11 09:32:08 +00:00

9 lines
254 B
Rust

// edition:2018
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;