1 error[E0080]: could not evaluate static initializer
2 --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL
4 LL | pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 | calling non-const function `<Vec<i32> as Drop>::drop`
8 | inside `std::ptr::drop_in_place::<Vec<i32>> - shim(Some(Vec<i32>))` at $SRC_DIR/core/src/ptr/mod.rs:LL:COL
13 | - inside `TEST_BAD` at $DIR/drop.rs:18:1
15 warning: skipping const checks
17 help: skipping check that does not even have a feature gate
20 LL | let _v: Vec<i32> = Vec::new();
23 error: aborting due to previous error; 1 warning emitted
25 For more information about this error, try `rustc --explain E0080`.