fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: this call for this type may be undefined behavior 2 --> $DIR/uninit.rs:12:29 3 | 4LL | let _: usize = unsafe { MaybeUninit::uninit().assume_init() }; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `#[deny(clippy::uninit_assumed_init)]` on by default 8 9error: this call for this type may be undefined behavior 10 --> $DIR/uninit.rs:35:29 11 | 12LL | let _: usize = unsafe { MaybeUninit::uninit().assume_init() }; 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 15error: this call for this type may be undefined behavior 16 --> $DIR/uninit.rs:44:29 17 | 18LL | let _: T = unsafe { MaybeUninit::uninit().assume_init() }; 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 21error: aborting due to 3 previous errors 22