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 06bc876 commit 86e599aCopy full SHA for 86e599a
[refs]
@@ -2,5 +2,5 @@
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
-refs/heads/try: d2135597e994759776d45d5622153e8b39e1869d
+refs/heads/try: 8a4c8bab8486592b2606afb275ad62974ed89767
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/try/src/test/run-pass/issue-979.rs
@@ -0,0 +1,12 @@
1
+resource r(b: @mutable int) {
+ *b += 1;
+}
+
+fn main() {
+ let b = @mutable 0;
7
+ {
8
+ let p = some(r(b));
9
+ }
10
11
+ assert *b == 1;
12
0 commit comments