Skip to content

Commit e5105a5

Browse files
committed
---
yaml --- r: 186141 b: refs/heads/try c: 60fa1ff h: refs/heads/master i: 186139: 9c62ba6 v: v3
1 parent 89eb55f commit e5105a5

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
@@ -2,7 +2,7 @@
22
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: 1935bbd91321b4ebb61b21a300f43234a0be6433
5+
refs/heads/try: 60fa1ff347588027c4a1786b978f386447c35016
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-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/try/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)