fork/rust

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

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

master
563 B23 linesraw
1error: function has missing const stability attribute
2  --> $DIR/missing-const-stability.rs:6:1
3   |
4LL | pub const fn foo() {}
5   | ^^^^^^^^^^^^^^^^^^^^^
6
7error: implementation has missing const stability attribute
8  --> $DIR/missing-const-stability.rs:28:1
9   |
10LL | / impl const Bar for Foo {
11LL | |
12LL | |     fn fun() {}
13LL | | }
14   | |_^
15
16error: associated function has missing const stability attribute
17  --> $DIR/missing-const-stability.rs:15:5
18   |
19LL |     pub const fn foo() {}
20   |     ^^^^^^^^^^^^^^^^^^^^^
21
22error: aborting due to 3 previous errors
23