summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs')
-rw-r--r--src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs b/src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs
index e25609f75..51fe346d0 100644
--- a/src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs
+++ b/src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.rs
@@ -1,4 +1,5 @@
#![warn(clippy::rest_pat_in_fully_bound_structs)]
+#![allow(clippy::struct_field_names)]
struct A {
a: i32,