Skip to content

Instantly share code, notes, and snippets.

@chamakits
Created November 8, 2015 01:09
Show Gist options
  • Save chamakits/ea8bb83dd1be06f8ff60 to your computer and use it in GitHub Desktop.
Save chamakits/ea8bb83dd1be06f8ff60 to your computer and use it in GitHub Desktop.
macro_rules! assign_do_nothing {
( $( $x:expr ),* ) => {
{
$(
let _curr = $x;
)*
}
};
}
#[test]
fn mock_forcing_functions_compiled() {
assign_do_nothing![
super::first_function,
super::second_function,
super::third_function,
super::fourth_function];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment