summaryrefslogtreecommitdiffstats
path: root/third_party/rust/extend/tests/compile_pass/multiple_generic_params.rs
blob: 29e4b9ca210d14e0024675b3c7533705f4af779e (plain)
1
2
3
4
5
6
7
8
9
10
11
use extend::ext;
use std::marker::PhantomData;

struct Foo<T>(PhantomData<T>);

#[ext]
impl<T, K> T {
    fn some_method(&self, _: Foo<K>) {}
}

fn main() {}