]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/miri_unleashed/feature-gate-unleash_the_miri_inside_of_you.stderr
Rollup merge of #84083 - ltratt:threadid_doc_tweak, r=dtolnay
[rust.git] / src / test / ui / consts / miri_unleashed / feature-gate-unleash_the_miri_inside_of_you.stderr
1 error[E0493]: destructors cannot be evaluated at compile-time
2   --> $DIR/feature-gate-unleash_the_miri_inside_of_you.rs:11:20
3    |
4 LL |     const F: u32 = (U::X, 42).1;
5    |                    ^^^^^^^^^^ - value is dropped here
6    |                    |
7    |                    constants cannot evaluate destructors
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0493`.