1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use metamatch::quote; fn main() { let res = quote! { [<if 3 > 2>] true // missing `if` below. // the current error for this is not ideal but we certainly // don't want it do regress further [<else x > 2>] false [</if>] }; assert!(res); }