Skip to content

Commit 3331c07

Browse files
committed
---
yaml --- r: 275870 b: refs/heads/auto c: 2c9dfaf h: refs/heads/master
1 parent fbc85b9 commit 3331c07

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
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 47d3b801ef707bba7437a8830e1bc285b638dced
11+
refs/heads/auto: 2c9dfafa572272a758357d6bd5d51c0b22a9fdd3
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/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();

branches/auto/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

branches/auto/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() { }

branches/auto/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
}

branches/auto/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
}

branches/auto/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
}

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