Guest User

Untitled

a guest
Aug 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #![feature(uniform_paths)]
  2.  
  3. pub enum Foo {
  4. Bar,
  5. }
  6.  
  7. pub enum Baz {
  8. Foo,
  9. }
  10.  
  11. mod test {
  12. use super::*;
  13. pub fn thing() -> Foo {
  14. use Foo::*;
  15. use Baz::*;
  16. Bar
  17. }
  18. }
  19.  
  20. fn main() {
  21. let _ = test::thing();
  22. }
Add Comment
Please, Sign In to add comment