fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.4 KiB48 linesraw
1error: character literal may only contain one codepoint
2  --> $DIR/unicode-character-literal.rs:7:18
3   |
4LL |     let _spade = '♠️';
5   |                  ^^^
6   |
7note: this `♠` is followed by the combining mark `\u{fe0f}`
8  --> $DIR/unicode-character-literal.rs:7:19
9   |
10LL |     let _spade = '♠️';
11   |                   ^
12help: if you meant to write a `str` literal, use double quotes
13   |
14LL |     let _spade = "♠️";
15   |                  ~~~
16
17error: character literal may only contain one codepoint
18  --> $DIR/unicode-character-literal.rs:12:14
19   |
20LL |     let _s = 'ṩ̂̊';
21   |              ^^^
22   |
23note: this `s` is followed by the combining marks `\u{323}\u{307}\u{302}\u{30a}`
24  --> $DIR/unicode-character-literal.rs:12:15
25   |
26LL |     let _s = 'ṩ̂̊';
27   |               ^
28help: if you meant to write a `str` literal, use double quotes
29   |
30LL |     let _s = "ṩ̂̊";
31   |              ~~~
32
33error: character literal may only contain one codepoint
34  --> $DIR/unicode-character-literal.rs:17:14
35   |
36LL |     let _a = 'Å';
37   |              ^-^
38   |               |
39   |               help: consider using the normalized form `\u{c5}` of this character: `Å`
40   |
41note: this `A` is followed by the combining mark `\u{30a}`
42  --> $DIR/unicode-character-literal.rs:17:15
43   |
44LL |     let _a = 'Å';
45   |               ^
46
47error: aborting due to 3 previous errors
48