Created
November 8, 2015 01:09
-
-
Save chamakits/ea8bb83dd1be06f8ff60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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