We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eae571 commit 1b32b13Copy full SHA for 1b32b13
src/test/compile-fail/arc-cant-nest-rw-arc-3177.rs
@@ -0,0 +1,9 @@
1
+// xfail-test
2
+// error-pattern: instantiating a type parameter with an incompatible type
3
+use std;
4
+import std::arc::rw_arc;
5
+
6
+fn main() {
7
+ let arc1 = ~rw_arc(true);
8
+ let _arc2 = ~rw_arc(arc1);
9
+}
0 commit comments