1 // Test that we print out the names of type parameters correctly in
4 fn foo<Foo, Bar>(x: Foo) -> Bar {
6 //~^ ERROR mismatched types
7 //~| expected type parameter `Bar`, found type parameter `Foo`
8 //~| expected type parameter `Bar`
9 //~| found type parameter `Foo`