1 error: replacing with `mem::uninitialized()`
2 --> $DIR/repl_uninit.rs:15:23
4 LL | let taken_v = mem::replace(&mut v, mem::uninitialized());
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::mem-replace-with-uninit` implied by `-D warnings`
8 = help: consider using the `take_mut` crate instead
10 error: replacing with `mem::zeroed()`
11 --> $DIR/repl_uninit.rs:21:23
13 LL | let taken_v = mem::replace(&mut v, mem::zeroed());
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider using a default value or the `take_mut` crate instead
18 error: replacing with `mem::uninitialized()`
19 --> $DIR/repl_uninit.rs:33:28
21 LL | let taken_u = unsafe { mem::replace(uref, mem::uninitialized()) };
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider using the `take_mut` crate instead
26 error: aborting due to 3 previous errors