fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
662 B24 linesraw
1error[E0080]: could not evaluate static initializer
2  --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL
3   |
4   = note: calling non-const function `<Vec<i32> as Drop>::drop`
5   |
6note: inside `std::ptr::drop_in_place::<Vec<i32>> - shim(Some(Vec<i32>))`
7  --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL
8note: inside `TEST_BAD`
9  --> $DIR/drop.rs:17:1
10   |
11LL | };
12   | ^
13
14warning: skipping const checks
15   |
16help: skipping check that does not even have a feature gate
17  --> $DIR/drop.rs:16:9
18   |
19LL |     let _v: Vec<i32> = Vec::new();
20   |         ^^
21
22error: aborting due to previous error; 1 warning emitted
23
24For more information about this error, try `rustc --explain E0080`.