rust/src/test/run-pass/unique-generic-assign.rs
Marijn Haverbeke 60ae1590af Switch to new param kind bound syntax
And remove support for the old syntax
2012-01-05 15:50:02 +01:00

7 lines
71 B
Rust

// Issue #976
fn f<T: copy>(x: ~T) {
let _x2 = x;
}
fn main() { }