Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. macro_rules! conforms {
  2. ($t:ty, $v:expr) => {
  3. {
  4. let x: $t = $v;
  5. x
  6. }
  7. };
  8. }
  9.  
  10. fn main() {
  11. conforms!(u32, "x");
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement