rust/src/test/ui/issues/issue-32829-2.stderr

95 lines
2.7 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0658]: statements in constants are unstable (see issue #48821)
2018-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:17: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:25:9
2018-08-08 07:28:26 -05:00
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in constants are unstable (see issue #48821)
2018-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:25: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:34: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:42: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:50:9
2018-08-08 07:28:26 -05:00
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in statics are unstable (see issue #48821)
2018-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:50: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:59: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:67: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:75:9
2018-08-08 07:28:26 -05:00
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in statics are unstable (see issue #48821)
2018-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:75: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-11-04 22:00:03 -06:00
--> $DIR/issue-32829-2.rs:84: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`.