// run-pass use std::ops::Add; fn foo(x: T) -> >::Output where i32: Add { 42i32 + x } fn main() { println!("{}", foo(0i32)); }