blob: f5b34793794805cf44dbd090e16b977b5b40e670 (
plain)
1
2
3
4
5
6
7
8
9
|
// compile-flags:--test
// the `--test` harness creates modules with these textual names, but
// they should be inaccessible from normal code.
use main as x; //~ ERROR unresolved import `main`
use test as y; //~ ERROR unresolved import `test`
#[test]
fn baz() {}
|