diff options
Diffstat (limited to 'tests/ui/self/issue-61882.rs')
-rw-r--r-- | tests/ui/self/issue-61882.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/self/issue-61882.rs b/tests/ui/self/issue-61882.rs new file mode 100644 index 000000000..013398b45 --- /dev/null +++ b/tests/ui/self/issue-61882.rs @@ -0,0 +1,9 @@ +struct A<T>(T); + +impl A<bool> { + const B: A<u8> = Self(0); + //~^ ERROR mismatched types + //~| ERROR mismatched types +} + +fn main() {} |