fork/rust

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

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

master
926 B34 linesraw
1error: identifier contains uncommon Unicode codepoints
2  --> $DIR/lint-uncommon-codepoints.rs:3:7
3   |
4LL | const µ: f64 = 0.000001;
5   |       ^
6   |
7note: the lint level is defined here
8  --> $DIR/lint-uncommon-codepoints.rs:1:9
9   |
10LL | #![deny(uncommon_codepoints)]
11   |         ^^^^^^^^^^^^^^^^^^^
12
13error: identifier contains uncommon Unicode codepoints
14  --> $DIR/lint-uncommon-codepoints.rs:6:4
15   |
16LL | fn dijkstra() {}
17   |    ^^^^^^^
18
19error: identifier contains uncommon Unicode codepoints
20  --> $DIR/lint-uncommon-codepoints.rs:9:9
21   |
22LL |     let ㇻㇲㇳ = "rust";
23   |         ^^^^^^
24
25warning: constant `µ` should have an upper case name
26  --> $DIR/lint-uncommon-codepoints.rs:3:7
27   |
28LL | const µ: f64 = 0.000001;
29   |       ^ help: convert the identifier to upper case: `Μ`
30   |
31   = note: `#[warn(non_upper_case_globals)]` on by default
32
33error: aborting due to 3 previous errors; 1 warning emitted
34