fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: using a potentially dangerous silent `as` conversion 2 --> $DIR/as_conversions.rs:10:13 3 | 4LL | let i = 0u32 as u64; 5 | ^^^^^^^^^^^ 6 | 7 = help: consider using a safe wrapper for this conversion 8 = note: `-D clippy::as-conversions` implied by `-D warnings` 9 = help: to override `-D warnings` add `#[allow(clippy::as_conversions)]` 10 11error: using a potentially dangerous silent `as` conversion 12 --> $DIR/as_conversions.rs:12:13 13 | 14LL | let j = &i as *const u64 as *mut u64; 15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16 | 17 = help: consider using a safe wrapper for this conversion 18 19error: using a potentially dangerous silent `as` conversion 20 --> $DIR/as_conversions.rs:12:13 21 | 22LL | let j = &i as *const u64 as *mut u64; 23 | ^^^^^^^^^^^^^^^^ 24 | 25 = help: consider using a safe wrapper for this conversion 26 27error: aborting due to 3 previous errors 28