fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: evaluation of `<String as Bar<Vec<u32>, String>>::F` failed 2 --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL 3 | 4 = note: calling non-const function `<Vec<u32> as Drop>::drop` 5 | 6note: inside `std::ptr::drop_in_place::<Vec<u32>> - shim(Some(Vec<u32>))` 7 --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL 8note: inside `std::ptr::drop_in_place::<(Vec<u32>, u32)> - shim(Some((Vec<u32>, u32)))` 9 --> $SRC_DIR/core/src/ptr/mod.rs:LL:COL 10note: inside `<String as Bar<Vec<u32>, String>>::F` 11 --> $DIR/assoc_const.rs:12:31 12 | 13LL | const F: u32 = (U::X, 42).1; 14 | ^ 15 16note: erroneous constant encountered 17 --> $DIR/assoc_const.rs:29:13 18 | 19LL | let y = <String as Bar<Vec<u32>, String>>::F; 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 22note: erroneous constant encountered 23 --> $DIR/assoc_const.rs:29:13 24 | 25LL | let y = <String as Bar<Vec<u32>, String>>::F; 26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 27 28warning: skipping const checks 29 | 30help: skipping check that does not even have a feature gate 31 --> $DIR/assoc_const.rs:12:20 32 | 33LL | const F: u32 = (U::X, 42).1; 34 | ^^^^^^^^^^ 35 36error: aborting due to previous error; 1 warning emitted 37 38For more information about this error, try `rustc --explain E0080`.