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 21:15:25 +00:00
// Tests correct implementation of traits with super-builtin-kinds
// using a bounded type parameter.
// pretty-expanded FIXME #23616
2013-08-16 22:21:02 +00:00
trait Foo : Send { }
impl <T: Send> Foo for T { }
pub fn main() { }