mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 03:14:11 +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.
12 lines
154 B
Rust
12 lines
154 B
Rust
// run-pass
|
|
#![allow(dead_code)]
|
|
// pretty-expanded FIXME #23616
|
|
|
|
#![feature(negative_impls)]
|
|
|
|
struct TestType;
|
|
|
|
impl !Send for TestType {}
|
|
|
|
fn main() {}
|