Skip to content

Commit 60ec812

Browse files
committed
test: Fix and un-xfail run-pass/use
1 parent c9439ad commit 60ec812

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/test/run-pass/use.rs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
// xfail-test
2-
use std;
3-
use libc;
4-
use zed(name = "std");
5-
use bar(name = "std", vers = "0.1");
1+
#[no_core];
2+
use core;
3+
use zed(name = "core");
4+
use bar(name = "core", vers = "0.2");
65

76

8-
// FIXME: commented out since resolve doesn't know how to handle crates yet.
9-
// import str;
10-
// import x = str;
7+
import core::str;
8+
import x = zed::str;
119
mod baz {
12-
// import str;
13-
// import x = str;
14-
10+
import bar::str;
11+
import x = core::str;
1512
}
1613

1714
fn main() { }

0 commit comments

Comments
 (0)