// Issue #1761 impl int: foo { fn foo() -> int { 10 } } trait foo { fn foo() -> int; } fn main() {}