Skip to content

Commit 47cb2c8

Browse files
committed
---
yaml --- r: 178155 b: refs/heads/tmp c: 60fa1ff h: refs/heads/master i: 178153: 3060f3b 178151: d11e834 v: v3
1 parent cc59bdc commit 47cb2c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 1935bbd91321b4ebb61b21a300f43234a0be6433
37+
refs/heads/tmp: 60fa1ff347588027c4a1786b978f386447c35016

branches/tmp/src/test/compile-fail/associated-types-ICE-when-projecting-out-of-err.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ trait Add<RHS=Self> {
2929

3030
fn ice<A>(a: A) {
3131
let r = loop {};
32-
r = r + a; // here the type `r` is not yet inferred, hence `r+a` generates an error.
33-
//~^ ERROR type of this value must be known
32+
r = r + a;
33+
//~^ ERROR binary operation `+` cannot be applied to type `A`
3434
}

branches/tmp/src/test/compile-fail/issue-2149.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl<A> vec_monad<A> for Vec<A> {
1616
fn bind<B, F>(&self, mut f: F) where F: FnMut(A) -> Vec<B> {
1717
let mut r = panic!();
1818
for elt in self.iter() { r = r + f(*elt); }
19-
//~^ ERROR the type of this value must be known
19+
//~^ ERROR binary operation `+` cannot be applied to type `collections::vec::Vec<B>`
2020
}
2121
}
2222
fn main() {

0 commit comments

Comments
 (0)