]> git.lizzy.rs Git - rust.git/blob - tests/ui/use.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / use.rs
1 // run-pass
2
3 #![allow(stable_features)]
4 // pretty-expanded FIXME #23616
5
6 #![allow(unused_imports)]
7 #![feature(start, no_core, core)]
8 #![no_core]
9
10 extern crate std;
11 extern crate std as zed;
12
13 use std::str;
14 use zed::str as x;
15
16 use std::io::{self, Error as IoError, Result as IoResult};
17 use std::error::{self as foo};
18 mod baz {
19     pub use std::str as x;
20 }
21
22 #[start]
23 pub fn start(_: isize, _: *const *const u8) -> isize { 0 }