1 error: this function has too many arguments (8/7)
2 --> $DIR/functions.rs:11:1
4 11 | / fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {
8 = note: `-D clippy::too-many-arguments` implied by `-D warnings`
10 error: this function has too many arguments (8/7)
11 --> $DIR/functions.rs:19:5
13 19 | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ());
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 error: this function has too many arguments (8/7)
17 --> $DIR/functions.rs:28:5
19 28 | fn bad_method(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {}
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 error: this public function dereferences a raw pointer but is not marked `unsafe`
23 --> $DIR/functions.rs:37:34
25 37 | println!("{}", unsafe { *p });
28 = note: `-D clippy::not-unsafe-ptr-arg-deref` implied by `-D warnings`
30 error: this public function dereferences a raw pointer but is not marked `unsafe`
31 --> $DIR/functions.rs:38:35
33 38 | println!("{:?}", unsafe { p.as_ref() });
36 error: this public function dereferences a raw pointer but is not marked `unsafe`
37 --> $DIR/functions.rs:39:33
39 39 | unsafe { std::ptr::read(p) };
42 error: this public function dereferences a raw pointer but is not marked `unsafe`
43 --> $DIR/functions.rs:50:30
45 50 | println!("{}", unsafe { *p });
48 error: this public function dereferences a raw pointer but is not marked `unsafe`
49 --> $DIR/functions.rs:51:31
51 51 | println!("{:?}", unsafe { p.as_ref() });
54 error: this public function dereferences a raw pointer but is not marked `unsafe`
55 --> $DIR/functions.rs:52:29
57 52 | unsafe { std::ptr::read(p) };
60 error: this public function dereferences a raw pointer but is not marked `unsafe`
61 --> $DIR/functions.rs:61:34
63 61 | println!("{}", unsafe { *p });
66 error: this public function dereferences a raw pointer but is not marked `unsafe`
67 --> $DIR/functions.rs:62:35
69 62 | println!("{:?}", unsafe { p.as_ref() });
72 error: this public function dereferences a raw pointer but is not marked `unsafe`
73 --> $DIR/functions.rs:63:33
75 63 | unsafe { std::ptr::read(p) };
78 error: aborting due to 12 previous errors