File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed
librustc_typeck/coherence Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 866a5ee2999ae7cb96de58a77647509d090456ee
37
+ refs/heads/tmp: 9ac073604c6689a773eb19bcc375234384326682
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ use middle::traits;
15
15
use middle:: ty;
16
16
use syntax:: ast:: { Item , ItemImpl } ;
17
17
use syntax:: ast;
18
- use syntax:: ast_map;
19
18
use syntax:: ast_util;
20
19
use syntax:: visit;
21
20
use util:: ppaux:: { Repr , UserString } ;
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- // ignore-tidy-linelength
12
-
13
11
pub struct Foo ;
14
12
15
13
mod bar {
16
14
use Foo ;
17
15
18
- impl Foo { //~ERROR inherent implementations are only allowed on types defined in the current module
16
+ impl Foo {
19
17
fn baz ( & self ) { }
20
18
}
21
19
}
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- // ignore-tidy-linelength
12
-
13
11
pub mod a {
14
12
pub struct Foo { a : usize }
15
13
}
16
14
17
15
pub mod b {
18
16
use a:: Foo ;
19
- impl Foo { //~ERROR inherent implementations are only allowed on types defined in the current module
17
+ impl Foo {
20
18
fn bar ( & self ) { }
21
19
}
22
20
}
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- mod Foo {
12
- trait Trait {
11
+ pub mod Foo {
12
+ pub trait Trait {
13
13
fn foo ( & self ) ;
14
14
}
15
15
}
You can’t perform that action at this time.
0 commit comments