Skip to content

Commit 8bda0cc

Browse files
committed
---
yaml --- r: 12863 b: refs/heads/master c: afca68b h: refs/heads/master i: 12861: f391b5a 12859: 5b05207 12855: 4cda8e3 12847: 9457049 12831: 28d0e5f 12799: 4fb7e71 v: v3
1 parent 8ee8a1b commit 8bda0cc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5be8bf1de710338c464a8c107f959ebae4c78a6a
2+
refs/heads/master: afca68b82089db479594c1d012375c7791cb5bd5
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
// check that we do not report a type like this as uninstantiable,
3+
// even though it would be if the nxt field had type @foo:
4+
enum foo = {x: uint, nxt: *foo};
5+
6+
fn main() {
7+
let x = foo({x: 0u, nxt: ptr::null()});
8+
}
9+

0 commit comments

Comments
 (0)