1 error: this function has too many arguments (8/7)
2 --> $DIR/functions.rs:8:1
4 LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::too-many-arguments` implied by `-D warnings`
9 error: this function has too many arguments (8/7)
10 --> $DIR/functions.rs:11:1
12 LL | / fn bad_multiline(
21 error: this function has too many arguments (8/7)
22 --> $DIR/functions.rs:45:5
24 LL | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ());
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 error: this function has too many arguments (8/7)
28 --> $DIR/functions.rs:54:5
30 LL | fn bad_method(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {}
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33 error: this public function dereferences a raw pointer but is not marked `unsafe`
34 --> $DIR/functions.rs:63:34
36 LL | println!("{}", unsafe { *p });
39 = note: `-D clippy::not-unsafe-ptr-arg-deref` implied by `-D warnings`
41 error: this public function dereferences a raw pointer but is not marked `unsafe`
42 --> $DIR/functions.rs:64:35
44 LL | println!("{:?}", unsafe { p.as_ref() });
47 error: this public function dereferences a raw pointer but is not marked `unsafe`
48 --> $DIR/functions.rs:65:33
50 LL | unsafe { std::ptr::read(p) };
53 error: this public function dereferences a raw pointer but is not marked `unsafe`
54 --> $DIR/functions.rs:76:30
56 LL | println!("{}", unsafe { *p });
59 error: this public function dereferences a raw pointer but is not marked `unsafe`
60 --> $DIR/functions.rs:77:31
62 LL | println!("{:?}", unsafe { p.as_ref() });
65 error: this public function dereferences a raw pointer but is not marked `unsafe`
66 --> $DIR/functions.rs:78:29
68 LL | unsafe { std::ptr::read(p) };
71 error: this public function dereferences a raw pointer but is not marked `unsafe`
72 --> $DIR/functions.rs:87:34
74 LL | println!("{}", unsafe { *p });
77 error: this public function dereferences a raw pointer but is not marked `unsafe`
78 --> $DIR/functions.rs:88:35
80 LL | println!("{:?}", unsafe { p.as_ref() });
83 error: this public function dereferences a raw pointer but is not marked `unsafe`
84 --> $DIR/functions.rs:89:33
86 LL | unsafe { std::ptr::read(p) };
89 error: aborting due to 13 previous errors