2020-05-21 14:49:38 -05:00
|
|
|
error: any use of this value will cause an error
|
|
|
|
--> $DIR/assert.rs:10:15
|
2019-11-17 23:11:42 -06:00
|
|
|
|
|
|
|
|
LL | const _: () = assert!(false);
|
2020-05-21 14:49:38 -05:00
|
|
|
| --------------^^^^^^^^^^^^^^-
|
|
|
|
| |
|
|
|
|
| the evaluated program panicked at 'assertion failed: false', $DIR/assert.rs:10:15
|
2019-11-17 23:11:42 -06:00
|
|
|
|
|
2020-05-21 14:49:38 -05:00
|
|
|
= note: `#[deny(const_err)]` on by default
|
2021-01-30 07:49:22 -06:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-11-17 23:11:42 -06:00
|
|
|
|
2020-05-21 14:49:38 -05:00
|
|
|
error: aborting due to previous error
|
2019-11-17 23:11:42 -06:00
|
|
|
|