We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea90b3 commit 833937aCopy full SHA for 833937a
tests/ui/functions_maxlines.rs
@@ -1,3 +1,4 @@
1
+#![allow(clippy::unused_unit, clippy::missing_safety_doc)]
2
#![warn(clippy::too_many_lines)]
3
4
fn good_lines() {
@@ -55,7 +56,8 @@ fn good_lines() {
55
56
println!("This is good.");
57
}
58
-fn bad_lines() {
59
+#[allow(unused)]
60
+pub async unsafe extern "Rust" fn bad_lines() -> () {
61
//~^ too_many_lines
62
63
println!("Dont get confused by braces: {{}}");
@@ -164,7 +166,8 @@ fn bad_lines() {
164
166
165
167
struct Foo;
168
impl Foo {
- fn bad_lines() {
169
+ #[allow(unused)]
170
+ pub async unsafe extern "Rust" fn bad_lines() -> () {
171
172
173
0 commit comments