1 error[E0364]: `Variant` is only public within the crate, and cannot be re-exported outside
2 --> $DIR/issue-79148.rs:8:1
7 note: consider marking `Variant` as `pub` in the imported module
8 --> $DIR/issue-79148.rs:8:1
12 = note: this error originates in the macro `cause_ice` (in Nightly builds, run with -Z macro-backtrace for more info)
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0364`.