rust/tests/ui/proc-macro/issue-79148.rs

11 lines
210 B
Rust
Raw Normal View History

2022-08-08 05:50:10 -05:00
// aux-build:re-export.rs
// edition:2018
extern crate re_export;
use re_export::cause_ice;
cause_ice!(); //~ ERROR `Variant` is only public within the crate, and cannot be re-exported outside
fn main() {}