Skip to content

Commit b43d0e5

Browse files
committed
---
yaml --- r: 171812 b: refs/heads/beta c: 928bb2b h: refs/heads/master v: v3
1 parent 17004d6 commit b43d0e5

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
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 57aaa9bf87a233753d34fb19e223ed82b42f95a3
34+
refs/heads/beta: 928bb2be8fee3600db086cfa94775ac9110937e2
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/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)