File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
branches/try/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5
- refs/heads/try: 57aaa9bf87a233753d34fb19e223ed82b42f95a3
5
+ refs/heads/try: 928bb2be8fee3600db086cfa94775ac9110937e2
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -38,4 +38,10 @@ fn dent_object<COLOR>(c: BoxCar<Color=COLOR>) {
38
38
//~^ ERROR ambiguous associated type
39
39
}
40
40
41
+ fn paint < C : BoxCar > ( c : C , d : C :: Color ) {
42
+ //~^ ERROR ambiguous associated type `Color` in bounds of `C`
43
+ //~| NOTE could derive from `Vehicle`
44
+ //~| NOTE could derive from `Box`
45
+ }
46
+
41
47
pub fn main ( ) { }
You can’t perform that action at this time.
0 commit comments