rustc/tests/ui/builtin-superkinds/builtin-superkinds-typaram.rs
2025-02-17 11:14:05 +01:00

11 lines
189 B
Rust

//@ 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() { }