mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
16 lines
234 B
Rust
16 lines
234 B
Rust
trait A {}
|
|
/// ~REQUIRE-DELETED trait-B
|
|
trait B {}
|
|
trait C {}
|
|
|
|
/// ~MINIMIZE-ROOT impl-A
|
|
impl A for () {}
|
|
|
|
/// ~REQUIRE-DELETED impl-B
|
|
impl B for () {}
|
|
|
|
/// ~MINIMIZE-ROOT impl-C
|
|
impl C for () {}
|
|
|
|
/// ~MINIMIZE-ROOT main
|
|
fn main() {}
|