1
Fork 0

pretty-print: Do not lose the $crate printing flag in print_tt

This commit is contained in:
Vadim Petrochenkov 2019-07-11 02:01:45 +03:00
parent 69070058cd
commit da50d59881
6 changed files with 29 additions and 11 deletions

View file

@ -0,0 +1,10 @@
pub type S = u8;
macro_rules! generate_exported { () => {
#[macro_export]
macro_rules! exported {
() => ($crate::S)
}
}}
generate_exported!();