diff options
Diffstat (limited to 'src/test/ui/str/str-as-char.fixed')
-rw-r--r-- | src/test/ui/str/str-as-char.fixed | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/str/str-as-char.fixed b/src/test/ui/str/str-as-char.fixed new file mode 100644 index 000000000..42bbef839 --- /dev/null +++ b/src/test/ui/str/str-as-char.fixed @@ -0,0 +1,5 @@ +// run-rustfix + +fn main() { + println!("●●"); //~ ERROR character literal may only contain one codepoint +} |