]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // aux-build:macro_rules.rs |
2 | ||
3 | #![warn(clippy::as_conversions)] | |
4 | ||
5 | #[macro_use] | |
6 | extern crate macro_rules; | |
7 | ||
8 | fn with_external_macro() { | |
9 | as_conv_with_arg!(0u32 as u64); | |
10 | as_conv!(); | |
11 | } | |
12 | ||
13 | fn main() { | |
14 | let i = 0u32 as u64; | |
15 | ||
16 | let j = &i as *const u64 as *mut u64; | |
17 | ||
18 | with_external_macro(); | |
19 | } |