mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
parent
42f8a3366a
commit
3f7b112b16
@ -22,9 +22,7 @@ mod name_pool {
|
||||
mod rust {
|
||||
#[legacy_exports];
|
||||
|
||||
import name_pool::add;
|
||||
// FIXME #3155: this is a hack
|
||||
import name_pool::__extensions__;
|
||||
use name_pool::add;
|
||||
export add;
|
||||
export rt;
|
||||
export cx;
|
||||
|
@ -2,15 +2,14 @@
|
||||
// name_pool::methods impl in the other crate is reachable from this
|
||||
// crate.
|
||||
|
||||
// xfail-test
|
||||
// xfail-fast
|
||||
// aux-build:crate-method-reexport-grrrrrrr2.rs
|
||||
|
||||
use crate_method_reexport_grrrrrrr2;
|
||||
extern mod crate_method_reexport_grrrrrrr2;
|
||||
|
||||
fn main() {
|
||||
import crate_method_reexport_grrrrrrr2::rust::add;
|
||||
import crate_method_reexport_grrrrrrr2::rust::cx;
|
||||
use crate_method_reexport_grrrrrrr2::rust::add;
|
||||
use crate_method_reexport_grrrrrrr2::rust::cx;
|
||||
let x = @();
|
||||
x.cx();
|
||||
let y = ();
|
||||
|
Loading…
Reference in New Issue
Block a user