Skip to content

Commit 1661006

Browse files
committed
Add some impl tests
1 parent 6297fdd commit 1661006

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/hello_world.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ fn test_ok() {
3737
trait Bar<ty T> where [T: Baz<>] {}
3838
3939
trait Baz<> where [] {}
40+
41+
impl<> Baz<> for u32 where [] {}
42+
43+
impl<> Bar<u32> for u32 where [] {}
44+
impl<ty T> Bar<T> for () where [T: Baz<>] {}
4045
}
4146
]",
4247
));

0 commit comments

Comments
 (0)