Skip to content

Commit 83ac68e

Browse files
committed
---
yaml --- r: 16323 b: refs/heads/try c: dd37c0a h: refs/heads/master i: 16321: 8097ac6 16319: fe1e7e0 v: v3
1 parent 546f8e3 commit 83ac68e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 8ebbf464f59f3a400de91d7afac0c254e3346c72
5+
refs/heads/try: dd37c0a41e3c695886fb2f3c33f7fee6675822aa
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/test/compile-fail/issue-511.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ fn f<T>(&o: option<T>) {
88
fn main() {
99
f::<int>(option::none);
1010
//!^ ERROR taking mut reference to static item
11-
//!^^ ERROR illegal borrow unless pure: creating mutable alias to aliasable, immutable memory
12-
//!^^^ NOTE impure due to access to impure function
11+
12+
// Additional errors reported by borrowck:
13+
//^^ ERROR illegal borrow unless pure: creating mutable alias to aliasable, immutable memory
14+
//^^^ NOTE impure due to access to impure function
1315
}

0 commit comments

Comments
 (0)