]> git.lizzy.rs Git - rust.git/blob - tests/ui/use.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[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 }