cfdf193c46
Closes #1067
9 lines
106 B
Rust
9 lines
106 B
Rust
// error-pattern: needed unique type
|
|
|
|
fn f<unique T>(i: T) {
|
|
}
|
|
|
|
fn main() {
|
|
let i = ~@100;
|
|
f(i);
|
|
} |