2018-08-08 07:28:26 -05:00
|
|
|
error[E0658]: statements in constants are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:7:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | 5;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:15:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0658]: statements in constants are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:15:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: statements in constants are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:24:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | valid();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:32:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | 5;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:40:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:40:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:49:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | valid();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:57:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | 5;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:65:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:65:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | invalid();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: statements in statics are unstable (see issue #48821)
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-32829-2.rs:74:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | valid();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(const_let)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to 12 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0015, E0658.
|
|
|
|
For more information about an error, try `rustc --explain E0015`.
|