Skip to content

Commit 8d1ee41

Browse files
committed
---
yaml --- r: 170718 b: refs/heads/try c: 928bb2b h: refs/heads/master v: v3
1 parent 1e8ed34 commit 8d1ee41

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 57aaa9bf87a233753d34fb19e223ed82b42f95a3
5+
refs/heads/try: 928bb2be8fee3600db086cfa94775ac9110937e2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ fn dent_object<COLOR>(c: BoxCar<Color=COLOR>) {
3838
//~^ ERROR ambiguous associated type
3939
}
4040

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+
4147
pub fn main() { }

0 commit comments

Comments
 (0)