rust/tests/ui/builtin-superkinds/builtin-superkinds-typaram.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
218 B
Rust
Raw Normal View History

// run-pass
2013-08-19 16:15:25 -05:00
// Tests correct implementation of traits with super-builtin-kinds
// using a bounded type parameter.
// pretty-expanded FIXME #23616
2013-08-16 17:21:02 -05:00
trait Foo : Send { }
impl <T: Send> Foo for T { }
pub fn main() { }