Manually expand macros due to rust-lang/rust#17436