1 2 3 4 5 6 7
use mono_macro::mono; #[test] fn test_lifetime() { #[mono(T = i32)] fn foo<'a, T>(_s: &'a str, _t: T) {} }