rust/tests/ui/proc-macro/issue-79148.rs
2024-02-16 20:02:50 +00:00

11 lines
212 B
Rust

//@ 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() {}