gccrs
gccrs copied to clipboard
Unused check for template function
Summary
The current unused variable pass does not check variables inside the template function.
Reproducer
I tried this code:
#[lang = "sized"]
pub trait Sized {}
fn test<T> (a: usize) -> () {
}