Skip to content

Commit ae1fc4a

Browse files
committed
---
yaml --- r: 192985 b: refs/heads/beta c: 038d7e6 h: refs/heads/master i: 192983: 2ea646f v: v3
1 parent 3ea14f4 commit ae1fc4a

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 753db889149db712598ff2a1ee34885d7b9680cc
34+
refs/heads/beta: 038d7e69e8861bd038e3dbd91adf078f72b6c887
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: de8a23bbc3a7b9cbd7574b5b91a34af59bf030e6

branches/beta/src/librustc_driver/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ impl<'a, 'tcx> Env<'a, 'tcx> {
206206

207207
ast::ItemEnum(..) | ast::ItemStruct(..) |
208208
ast::ItemTrait(..) | ast::ItemImpl(..) |
209-
ast::ItemMac(..) => {
209+
ast::ItemMac(..) | ast::ItemDefaultImpl(..) => {
210210
None
211211
}
212212

branches/beta/src/test/parse-fail/empty-impl-semicolon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
impl Foo; //~ ERROR expected one of `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `;`
11+
impl Foo; //~ ERROR expected one of `(`, `+`, `..`, `::`, `<`, `for`, `where`, or `{`, found `;`

branches/beta/src/test/parse-fail/multitrait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ struct S {
1313
}
1414

1515
impl Cmp, ToString for S {
16-
//~^ ERROR: expected one of `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `,`
16+
//~^ ERROR: expected one of `(`, `+`, `..`, `::`, `<`, `for`, `where`, or `{`, found `,`
1717
fn eq(&&other: S) { false }
1818
fn to_string(&self) -> String { "hi".to_string() }
1919
}

branches/beta/src/test/parse-fail/trait-bounds-not-on-impl.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ trait Foo {
1313

1414
struct Bar;
1515

16-
impl Foo + Owned for Bar { //~ ERROR not a trait
16+
impl Foo + Owned for Bar {
17+
//~^ ERROR not a trait
18+
//~^^ ERROR expected one of `..`, `where`, or `{`, found `Bar`
1719
}
1820

1921
fn main() { }

branches/beta/src/test/pretty/default-trait-impl.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
// pp-exact
1414

15-
trait MyTrait { }
15+
use std::marker::MarkerTrait;
16+
17+
trait MyTrait: MarkerTrait { }
1618

1719
impl MyTrait for .. { }
1820

0 commit comments

Comments
 (0)