]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/drop_zst.stderr
Rollup merge of #106718 - lcnr:solver-cycles, r=compiler-errors
[rust.git] / tests / ui / consts / drop_zst.stderr
1 error[E0493]: destructor of `S` cannot be evaluated at compile-time
2   --> $DIR/drop_zst.rs:14:9
3    |
4 LL |     let s = S;
5    |         ^ the destructor for this type cannot be evaluated in constant functions
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0493`.