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 377c61f commit c997e40Copy full SHA for c997e40
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 0eae571389b0124eae4b33ae532788cff735da07
+refs/heads/master: 1b32b13c720af3ee654bb72c705909e29eb31a78
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/test/compile-fail/arc-cant-nest-rw-arc-3177.rs
@@ -0,0 +1,9 @@
+// xfail-test
+// error-pattern: instantiating a type parameter with an incompatible type
+use std;
+import std::arc::rw_arc;
+
6
+fn main() {
7
+ let arc1 = ~rw_arc(true);
8
+ let _arc2 = ~rw_arc(arc1);
9
+}
0 commit comments