Skip to content

Commit c5b0f44

Browse files
committed
---
yaml --- r: 3605 b: refs/heads/master c: 6bd80d0 h: refs/heads/master i: 3603: e9997e5 v: v3
1 parent fab57f1 commit c5b0f44

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
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: 8e585e7008ac5b01c76b6f5830aa9e3104d83bbd
2+
refs/heads/master: 6bd80d01217c621b754f669188c0826c01af8fda
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//error-pattern:x does not have object type
2+
use std;
3+
4+
fn main() {
5+
auto x = 3;
6+
7+
auto anon_obj = obj {
8+
fn foo() -> int {
9+
ret 3;
10+
}
11+
with x
12+
};
13+
}

0 commit comments

Comments
 (0)