1 error: this function has too many arguments (8/7)
2 --> $DIR/functions.rs:21:1
4 21 | / 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:29:5
13 29 | 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:38:5
19 38 | 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:47:34
25 47 | 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:48:35
33 48 | println!("{:?}", unsafe { p.as_ref() });
36 error: this public function dereferences a raw pointer but is not marked `unsafe`
37 --> $DIR/functions.rs:49:33
39 49 | unsafe { std::ptr::read(p) };
42 error: this public function dereferences a raw pointer but is not marked `unsafe`
43 --> $DIR/functions.rs:60:30
45 60 | println!("{}", unsafe { *p });
48 error: this public function dereferences a raw pointer but is not marked `unsafe`
49 --> $DIR/functions.rs:61:31
51 61 | println!("{:?}", unsafe { p.as_ref() });
54 error: this public function dereferences a raw pointer but is not marked `unsafe`
55 --> $DIR/functions.rs:62:29
57 62 | unsafe { std::ptr::read(p) };
60 error: this public function dereferences a raw pointer but is not marked `unsafe`
61 --> $DIR/functions.rs:71:34
63 71 | println!("{}", unsafe { *p });
66 error: this public function dereferences a raw pointer but is not marked `unsafe`
67 --> $DIR/functions.rs:72:35
69 72 | println!("{:?}", unsafe { p.as_ref() });
72 error: this public function dereferences a raw pointer but is not marked `unsafe`
73 --> $DIR/functions.rs:73:33
75 73 | unsafe { std::ptr::read(p) };
78 error: aborting due to 12 previous errors