]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin-superkinds/builtin-superkinds-typaram.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / builtin-superkinds / builtin-superkinds-typaram.rs
1 // run-pass
2 // Tests correct implementation of traits with super-builtin-kinds
3 // using a bounded type parameter.
4
5 // pretty-expanded FIXME #23616
6
7 trait Foo : Send { }
8
9 impl <T: Send> Foo for T { }
10
11 pub fn main() { }