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