mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 11:06:58 +00:00
Use `splice` to avoid shifting the other items twice. Put `extern crate std;` first so it's already resolved when we resolve `::std::prelude::rust_20XX`.
13 lines
236 B
Rust
13 lines
236 B
Rust
#!/usr/bin/env rust
|
|
#![feature(prelude_import)]
|
|
#![no_std]
|
|
#[macro_use]
|
|
extern crate std;
|
|
#[prelude_import]
|
|
use ::std::prelude::rust_2015::*;
|
|
//@ pretty-mode:expanded
|
|
//@ pp-exact:shebang-at-top.pp
|
|
//@ pretty-compare-only
|
|
|
|
fn main() {}
|