parent
42f8a3366a
commit
3f7b112b16
2 changed files with 4 additions and 7 deletions
|
@ -22,9 +22,7 @@ mod name_pool {
|
||||||
mod rust {
|
mod rust {
|
||||||
#[legacy_exports];
|
#[legacy_exports];
|
||||||
|
|
||||||
import name_pool::add;
|
use name_pool::add;
|
||||||
// FIXME #3155: this is a hack
|
|
||||||
import name_pool::__extensions__;
|
|
||||||
export add;
|
export add;
|
||||||
export rt;
|
export rt;
|
||||||
export cx;
|
export cx;
|
||||||
|
|
|
@ -2,15 +2,14 @@
|
||||||
// name_pool::methods impl in the other crate is reachable from this
|
// name_pool::methods impl in the other crate is reachable from this
|
||||||
// crate.
|
// crate.
|
||||||
|
|
||||||
// xfail-test
|
|
||||||
// xfail-fast
|
// xfail-fast
|
||||||
// aux-build:crate-method-reexport-grrrrrrr2.rs
|
// aux-build:crate-method-reexport-grrrrrrr2.rs
|
||||||
|
|
||||||
use crate_method_reexport_grrrrrrr2;
|
extern mod crate_method_reexport_grrrrrrr2;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
import crate_method_reexport_grrrrrrr2::rust::add;
|
use crate_method_reexport_grrrrrrr2::rust::add;
|
||||||
import crate_method_reexport_grrrrrrr2::rust::cx;
|
use crate_method_reexport_grrrrrrr2::rust::cx;
|
||||||
let x = @();
|
let x = @();
|
||||||
x.cx();
|
x.cx();
|
||||||
let y = ();
|
let y = ();
|
||||||
|
|
Loading…
Add table
Reference in a new issue