about summary refs log tree commit diff
path: root/tests/ui/builtin-superkinds/builtin-superkinds-typaram.rs
blob: de2afc4a1713dc09b602d9914f21ea976961c6ae (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
// Tests correct implementation of traits with super-builtin-kinds
// using a bounded type parameter.


trait Foo : Send { }

impl <T: Send> Foo for T { }

pub fn main() { }