rust/src/test/compile-fail/issue-2951.rs

9 lines
149 B
Rust
Raw Normal View History

2012-12-06 18:13:40 -06:00
// xfail-test
fn foo<T, U>(x: T, y: U) {
let mut xx = x;
xx = y; // error message should mention T and U, not 'a and 'b
}
fn main() {
}