fork/rust

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

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

master
2.1 KiB75 linesraw
1error[E0635]: unknown feature `const_fn_trait_ref_impls`
2  --> $DIR/fn_trait_refs.rs:3:12
3   |
4LL | #![feature(const_fn_trait_ref_impls)]
5   |            ^^^^^^^^^^^^^^^^^^^^^^^^
6
7error[E0635]: unknown feature `const_cmp`
8  --> $DIR/fn_trait_refs.rs:8:12
9   |
10LL | #![feature(const_cmp)]
11   |            ^^^^^^^^^
12
13error: ~const can only be applied to `#[const_trait]` traits
14  --> $DIR/fn_trait_refs.rs:15:15
15   |
16LL |     T: ~const Fn<()> + ~const Destruct,
17   |               ^^^^^^
18
19error: ~const can only be applied to `#[const_trait]` traits
20  --> $DIR/fn_trait_refs.rs:15:15
21   |
22LL |     T: ~const Fn<()> + ~const Destruct,
23   |               ^^^^^^
24
25error: ~const can only be applied to `#[const_trait]` traits
26  --> $DIR/fn_trait_refs.rs:22:15
27   |
28LL |     T: ~const FnMut<()> + ~const Destruct,
29   |               ^^^^^^^^^
30
31error: ~const can only be applied to `#[const_trait]` traits
32  --> $DIR/fn_trait_refs.rs:22:15
33   |
34LL |     T: ~const FnMut<()> + ~const Destruct,
35   |               ^^^^^^^^^
36
37error: ~const can only be applied to `#[const_trait]` traits
38  --> $DIR/fn_trait_refs.rs:29:15
39   |
40LL |     T: ~const FnOnce<()>,
41   |               ^^^^^^^^^^
42
43error: ~const can only be applied to `#[const_trait]` traits
44  --> $DIR/fn_trait_refs.rs:29:15
45   |
46LL |     T: ~const FnOnce<()>,
47   |               ^^^^^^^^^^
48
49error: ~const can only be applied to `#[const_trait]` traits
50  --> $DIR/fn_trait_refs.rs:36:15
51   |
52LL |     T: ~const Fn<()> + ~const Destruct,
53   |               ^^^^^^
54
55error: ~const can only be applied to `#[const_trait]` traits
56  --> $DIR/fn_trait_refs.rs:36:15
57   |
58LL |     T: ~const Fn<()> + ~const Destruct,
59   |               ^^^^^^
60
61error: ~const can only be applied to `#[const_trait]` traits
62  --> $DIR/fn_trait_refs.rs:50:15
63   |
64LL |     T: ~const FnMut<()> + ~const Destruct,
65   |               ^^^^^^^^^
66
67error: ~const can only be applied to `#[const_trait]` traits
68  --> $DIR/fn_trait_refs.rs:50:15
69   |
70LL |     T: ~const FnMut<()> + ~const Destruct,
71   |               ^^^^^^^^^
72
73error: aborting due to 12 previous errors
74
75For more information about this error, try `rustc --explain E0635`.