Skip to content

Commit 895674b

Browse files
committed
Add a test for assignment of unique boxes of generics
Closes #976 Issue #409
1 parent 4f7ecce commit 895674b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Issue #976
2+
3+
fn f<@T>(x: ~T) {
4+
let _x2 = x;
5+
}
6+
fn main() { }

0 commit comments

Comments
 (0)