2021-11-18 02:06:17 +00:00
|
|
|
error: function has missing const stability attribute
|
2021-11-18 02:08:16 +00:00
|
|
|
--> $DIR/missing-const-stability.rs:6:1
|
2020-09-25 20:51:52 +00:00
|
|
|
|
|
|
|
|
LL | pub const fn foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-02-13 10:54:00 +00:00
|
|
|
error: implementation has missing const stability attribute
|
2022-08-28 06:27:31 +00:00
|
|
|
--> $DIR/missing-const-stability.rs:28:1
|
2022-02-13 10:54:00 +00:00
|
|
|
|
|
|
|
|
LL | / impl const Bar for Foo {
|
|
|
|
LL | |
|
|
|
|
LL | | fn fun() {}
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
2022-07-03 13:28:57 +00:00
|
|
|
error: associated function has missing const stability attribute
|
|
|
|
--> $DIR/missing-const-stability.rs:15:5
|
|
|
|
|
|
|
|
|
LL | pub const fn foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-02-13 10:54:00 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2020-09-25 20:51:52 +00:00
|
|
|
|