duplicate self ty test

This commit is contained in:
nora 2023-04-04 15:09:20 +02:00
parent 7fcc623c7f
commit cc526f10c7
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,16 @@
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() {}