1 error: this function has too many arguments (8/7)
4 11 | / fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {
8 = note: `-D too-many-arguments` implied by `-D warnings`
10 error: this function has too many arguments (8/7)
13 19 | fn bad(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ());
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: `-D too-many-arguments` implied by `-D warnings`
18 error: this function has too many arguments (8/7)
21 28 | fn bad_method(_one: u32, _two: u32, _three: &str, _four: bool, _five: f32, _six: f32, _seven: bool, _eight: ()) {}
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 = note: `-D too-many-arguments` implied by `-D warnings`
26 error: this public function dereferences a raw pointer but is not marked `unsafe`
27 --> functions.rs:37:34
29 37 | println!("{}", unsafe { *p });
32 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
34 error: this public function dereferences a raw pointer but is not marked `unsafe`
35 --> functions.rs:38:35
37 38 | println!("{:?}", unsafe { p.as_ref() });
40 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
42 error: this public function dereferences a raw pointer but is not marked `unsafe`
43 --> functions.rs:39:33
45 39 | unsafe { std::ptr::read(p) };
48 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
50 error: this public function dereferences a raw pointer but is not marked `unsafe`
51 --> functions.rs:50:30
53 50 | println!("{}", unsafe { *p });
56 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
58 error: this public function dereferences a raw pointer but is not marked `unsafe`
59 --> functions.rs:51:31
61 51 | println!("{:?}", unsafe { p.as_ref() });
64 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
66 error: this public function dereferences a raw pointer but is not marked `unsafe`
67 --> functions.rs:52:29
69 52 | unsafe { std::ptr::read(p) };
72 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
74 error: this public function dereferences a raw pointer but is not marked `unsafe`
75 --> functions.rs:61:34
77 61 | println!("{}", unsafe { *p });
80 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
82 error: this public function dereferences a raw pointer but is not marked `unsafe`
83 --> functions.rs:62:35
85 62 | println!("{:?}", unsafe { p.as_ref() });
88 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
90 error: this public function dereferences a raw pointer but is not marked `unsafe`
91 --> functions.rs:63:33
93 63 | unsafe { std::ptr::read(p) };
96 = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings`
98 error: aborting due to previous error(s)
100 error: Could not compile `clippy_tests`.
102 To learn more, run the command again with --verbose.