Skip to content

Commit 3f7b112

Browse files
committed
Update and un-xfail crate-method-reexport-grrrrrrr2
Closes #3155
1 parent 42f8a33 commit 3f7b112

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/test/auxiliary/crate-method-reexport-grrrrrrr2.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ mod name_pool {
2222
mod rust {
2323
#[legacy_exports];
2424

25-
import name_pool::add;
26-
// FIXME #3155: this is a hack
27-
import name_pool::__extensions__;
25+
use name_pool::add;
2826
export add;
2927
export rt;
3028
export cx;

src/test/run-pass/crate-method-reexport-grrrrrrr.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
// name_pool::methods impl in the other crate is reachable from this
33
// crate.
44

5-
// xfail-test
65
// xfail-fast
76
// aux-build:crate-method-reexport-grrrrrrr2.rs
87

9-
use crate_method_reexport_grrrrrrr2;
8+
extern mod crate_method_reexport_grrrrrrr2;
109

1110
fn main() {
12-
import crate_method_reexport_grrrrrrr2::rust::add;
13-
import crate_method_reexport_grrrrrrr2::rust::cx;
11+
use crate_method_reexport_grrrrrrr2::rust::add;
12+
use crate_method_reexport_grrrrrrr2::rust::cx;
1413
let x = @();
1514
x.cx();
1615
let y = ();

0 commit comments

Comments
 (0)