diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/self/issue-61882.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/self/issue-61882.rs b/src/test/ui/self/issue-61882.rs new file mode 100644 index 000000000..013398b45 --- /dev/null +++ b/src/test/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() {} |