Skip to content

Commit 82522d9

Browse files
committed
---
yaml --- r: 187233 b: refs/heads/try c: 038d7e6 h: refs/heads/master i: 187231: 23d652b v: v3
1 parent 67e2e90 commit 82522d9

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
@@ -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: 753db889149db712598ff2a1ee34885d7b9680cc
5+
refs/heads/try: 038d7e69e8861bd038e3dbd91adf078f72b6c887
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

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