mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 20:34:06 +00:00

detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
6 lines
97 B
Rust
6 lines
97 B
Rust
// run-pass
|
|
#![feature(allocator_api)]
|
|
fn main() {
|
|
let _boxed: Box<u32, _> = Box::new(10);
|
|
}
|