fork/rust

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

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

master
3.0 KiB77 linesraw
1error[E0658]: generic const items are experimental
2  --> $DIR/feature-gate-generic_const_items.rs:2:14
3   |
4LL |     const ONE<T>: i32;
5   |              ^^^
6   |
7   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
8   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
9
10error[E0658]: generic const items are experimental
11  --> $DIR/feature-gate-generic_const_items.rs:6:5
12   |
13LL | /     where
14LL | |         A: Copy;
15   | |_______________^
16   |
17   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
18   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
19
20error[E0658]: generic const items are experimental
21  --> $DIR/feature-gate-generic_const_items.rs:11:12
22   |
23LL | const CONST<T>: i32 = 0;
24   |            ^^^
25   |
26   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
27   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
28
29error[E0658]: generic const items are experimental
30  --> $DIR/feature-gate-generic_const_items.rs:14:12
31   |
32LL | const EMPTY<>: i32 = 0;
33   |            ^^
34   |
35   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
36   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
37
38error[E0658]: generic const items are experimental
39  --> $DIR/feature-gate-generic_const_items.rs:18:1
40   |
41LL | / where
42LL | |     String: Clone;
43   | |_________________^
44   |
45   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
46   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
47
48error[E0658]: generic const items are experimental
49  --> $DIR/feature-gate-generic_const_items.rs:28:22
50   |
51LL | discard! { const FREE<T>: () = (); }
52   |                      ^^^
53   |
54   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
55   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
56
57error[E0658]: generic const items are experimental
58  --> $DIR/feature-gate-generic_const_items.rs:31:33
59   |
60LL | discard! { impl () { const ASSOC<const N: ()>: () = (); } }
61   |                                 ^^^^^^^^^^^^^
62   |
63   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
64   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
65
66error[E0658]: generic const items are experimental
67  --> $DIR/feature-gate-generic_const_items.rs:34:43
68   |
69LL | discard! { impl () { const ASSOC: i32 = 0 where String: Copy; } }
70   |                                           ^^^^^^^^^^^^^^^^^^
71   |
72   = note: see issue #113521 <https://github.com/rust-lang/rust/issues/113521> for more information
73   = help: add `#![feature(generic_const_items)]` to the crate attributes to enable
74
75error: aborting due to 8 previous errors
76
77For more information about this error, try `rustc --explain E0658`.