15 lines
267 B
Rust
15 lines
267 B
Rust
|
// xfail-test -- #2378 unfixed
|
||
|
// aux-build:issue2378a.rs
|
||
|
// aux-build:issue2378b.rs
|
||
|
|
||
|
use issue2378a;
|
||
|
use issue2378b;
|
||
|
|
||
|
import issue2378a::{just, methods};
|
||
|
import issue2378b::{methods};
|
||
|
|
||
|
fn main() {
|
||
|
let x = {a: just(3), b: just(5)};
|
||
|
assert x[0u] == (3, 5);
|
||
|
}
|