Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro_rules! conforms {
- ($t:ty, $v:expr) => {
- {
- let x: $t = $v;
- x
- }
- };
- }
- fn main() {
- conforms!(u32, "x");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement