Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #![feature(prelude_import)]
  2.  
  3. #[prelude_import]
  4. use self::prelude::*;
  5.  
  6. declare_mod!(); // Not resolved
  7.  
  8. mod prelude {
  9. macro_rules! declare_mod {
  10. () => {
  11. mod foo {}
  12. };
  13. }
  14. }
  15.  
  16. // declare_mod!(); // Still not resolved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement