about summary refs log tree commit diff
path: root/tests/ui/single_char_pattern.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/single_char_pattern.fixed')
-rw-r--r--tests/ui/single_char_pattern.fixed2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/single_char_pattern.fixed b/tests/ui/single_char_pattern.fixed
index 220b855ead5..2dd21790389 100644
--- a/tests/ui/single_char_pattern.fixed
+++ b/tests/ui/single_char_pattern.fixed
@@ -1,5 +1,7 @@
 // run-rustfix
 
+#![allow(unused_must_use)]
+
 use std::collections::HashSet;
 
 fn main() {