diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-64792-bad-unicode-ctor.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-64792-bad-unicode-ctor.rs b/src/test/ui/issues/issue-64792-bad-unicode-ctor.rs new file mode 100644 index 000000000..f1427ef46 --- /dev/null +++ b/src/test/ui/issues/issue-64792-bad-unicode-ctor.rs @@ -0,0 +1,5 @@ +struct X {} + +const Y: X = X("รถ"); //~ ERROR expected function, tuple struct or tuple variant, found struct `X` + +fn main() {} |