File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
branches/snap-stage3/src/test/compile-fail Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3
- refs/heads/snap-stage3: 65a3245319405e4dd53f10abdbc042502d184c93
3
+ refs/heads/snap-stage3: c68e65251c86ffdb21aecec56ec45e303d952d79
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change 13
13
struct Foo ;
14
14
15
15
impl Foo {
16
- type Bar = isize ; //~ERROR associated items are not allowed in inherent impls
16
+ type Bar = isize ; //~ERROR associated types are not allowed in inherent impls
17
17
}
18
18
19
19
fn main ( ) { }
Original file line number Diff line number Diff line change 10
10
11
11
trait Expr : PartialEq < Self :: Item > {
12
12
//~^ ERROR: unsupported cyclic reference between types/traits detected
13
- type Item = Expr ;
13
+ type Item ;
14
14
}
15
15
16
16
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments