fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.5 KiB47 linesraw
1error[E0658]: non-ascii idents are not fully supported
2  --> $DIR/utf8_idents.rs:2:5
3   |
4LL |     'β,
5   |     ^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/55467
8   = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable
9
10error[E0658]: non-ascii idents are not fully supported
11  --> $DIR/utf8_idents.rs:3:5
12   |
13LL |     γ
14   |     ^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/55467
17   = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable
18
19error[E0658]: non-ascii idents are not fully supported
20  --> $DIR/utf8_idents.rs:8:5
21   |
22LL |     δ: usize
23   |     ^
24   |
25   = note: for more information, see https://github.com/rust-lang/rust/issues/55467
26   = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable
27
28error[E0658]: non-ascii idents are not fully supported
29  --> $DIR/utf8_idents.rs:12:9
30   |
31LL |     let α = 0.00001f64;
32   |         ^
33   |
34   = note: for more information, see https://github.com/rust-lang/rust/issues/55467
35   = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable
36
37warning: type parameter `γ` should have an upper camel case name
38  --> $DIR/utf8_idents.rs:3:5
39   |
40LL |     γ
41   |     ^ help: convert the identifier to upper camel case: `Γ`
42   |
43   = note: `#[warn(non_camel_case_types)]` on by default
44
45error: aborting due to 4 previous errors
46
47For more information about this error, try `rustc --explain E0658`.