We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe01e4 commit 5d2b492Copy full SHA for 5d2b492
tests/source/issue-4452.rs
@@ -0,0 +1,15 @@
1
+fn a(&self) -> i64 {
2
+ #[allow(clippy::cast_possible_wrap)]
3
+ 1u64 as i64
4
+}
5
+
6
+fn b(&self) -> i64 {
7
8
+ #[attr]
9
+ 1..2
10
11
12
+fn foo() {
13
14
+ {}
15
tests/target/issue-4452.rs
0 commit comments