Skip to content

Commit 884158f

Browse files
committed
---
yaml --- r: 275735 b: refs/heads/master c: 2c9dfaf h: refs/heads/master i: 275733: 0208b57 275731: 78ae56d 275727: f2b3c43
1 parent 0fe9e7a commit 884158f

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 47d3b801ef707bba7437a8830e1bc285b638dced
2+
refs/heads/master: 2c9dfafa572272a758357d6bd5d51c0b22a9fdd3
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/test/compile-fail/derived-errors/issue-31997-1.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ fn main() {
2929

3030
let mut map = HashMap::new();
3131
//~^ ERROR E0433
32-
//~| ERROR E0425
3332

3433
for line in input.lines() {
3534
let line = line.unwrap();

trunk/src/test/compile-fail/issue-13853.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Node for Stuff {
3535

3636
fn iterate<N: Node, G: Graph<N>>(graph: &G) {
3737
for node in graph.iter() { //~ ERROR no method named `iter` found
38-
node.zomg(); //~ error: the type of this value must be known in this context
38+
node.zomg();
3939
}
4040
}
4141

trunk/src/test/compile-fail/issue-19692.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct Homura;
1212

1313
fn akemi(homura: Homura) {
1414
let Some(ref madoka) = Some(homura.kaname()); //~ ERROR no method named `kaname` found
15-
madoka.clone(); //~ ERROR the type of this value must be known
15+
madoka.clone();
1616
}
1717

1818
fn main() { }

trunk/src/test/compile-fail/issue-20261.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
fn main() {
1212
for (ref i,) in [].iter() { //~ ERROR mismatched types
1313
i.clone();
14-
//~^ ERROR: the type of this value must be known in this context
1514
}
1615
}

trunk/src/test/compile-fail/issue-26480.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ macro_rules! write {
3030
}
3131

3232
macro_rules! cast {
33-
($x:expr) => ($x as ())
33+
($x:expr) => ($x as ()) //~ ERROR non-scalar cast
3434
}
3535

3636
fn main() {
@@ -39,4 +39,5 @@ fn main() {
3939
//~^ NOTE in this expansion of write!
4040

4141
cast!(2);
42+
//~^ NOTE in this expansion of cast!
4243
}

trunk/src/test/compile-fail/issue-3973.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ impl ToString_ for Point {
3131
fn main() {
3232
let p = Point::new(0.0, 0.0);
3333
//~^ ERROR no associated item named `new` found for type `Point` in the current scope
34-
println!("{}", p.to_string()); //~ ERROR type of this value must be known
34+
println!("{}", p.to_string());
3535
}

trunk/src/test/compile-fail/issue-7092.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn foo(x: Whatever) {
1919
//~| found `std::option::Option<_>`
2020
//~| expected enum `Whatever`
2121
//~| found enum `std::option::Option`
22-
field.access(), //~ ERROR the type of this value must be known in this context
22+
field.access(),
2323
}
2424
}
2525

0 commit comments

Comments
 (0)