Skip to content

Commit a481587

Browse files
committed
---
yaml --- r: 5461 b: refs/heads/master c: 7a76323 h: refs/heads/master i: 5459: 5fcc97b v: v3
1 parent 347ca9a commit a481587

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e372f943e2f84beef81fde6b7e1260fc710529c6
2+
refs/heads/master: 7a76323459bab16d18b364d97ab35c6558f89825

trunk/src/comp/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ fn type_is_pod(cx: ctxt, ty: t) -> bool {
12351235
result = true;
12361236
}
12371237
// Boxed types
1238-
ty_str. | ty_box(_) | ty_vec(_) | ty_fn(_, _, _, _, _) |
1238+
ty_str. | ty_box(_) | ty_uniq(_) | ty_vec(_) | ty_fn(_, _, _, _, _) |
12391239
ty_native_fn(_, _, _) | ty_obj(_) {
12401240
result = false;
12411241
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
assert [~100][0] == ~100;
3+
}

0 commit comments

Comments
 (0)