diff options
Diffstat (limited to 'tests/ui/proc-macro/issue-79148.rs')
-rw-r--r-- | tests/ui/proc-macro/issue-79148.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/issue-79148.rs b/tests/ui/proc-macro/issue-79148.rs new file mode 100644 index 000000000..3f01187a8 --- /dev/null +++ b/tests/ui/proc-macro/issue-79148.rs @@ -0,0 +1,10 @@ +// 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() {} |