rust/tests/ui/coherence/coherence-negative-impls-safe-rpass.rs
surechen 40ae34194c remove redundant imports
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.
2023-12-10 10:56:22 +08:00

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() {}