We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3148282 commit ea121c4Copy full SHA for ea121c4
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: fc06114ddfd2bcdbc4f29076c226a7a1d66ea8d6
+refs/heads/master: b9f9ab8f7775039e02cbe38c270c81e893da8e2b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
trunk/src/test/run-pass/drop-trait-generic.rs
@@ -0,0 +1,14 @@
+struct S<T> {
+ x: T
+}
+
+impl<T> S<T> : core::ops::Drop {
6
+ fn finalize() {
7
+ io::println("bye");
8
+ }
9
10
11
+fn main() {
12
+ let x = S { x: 1 };
13
14
0 commit comments