about summary refs log tree commit diff
path: root/src/test/run-pass/try-block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/try-block.rs')
-rw-r--r--src/test/run-pass/try-block.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/try-block.rs b/src/test/run-pass/try-block.rs
index a7e7cc20620..f618d16c598 100644
--- a/src/test/run-pass/try-block.rs
+++ b/src/test/run-pass/try-block.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(non_camel_case_types)]
+#![allow(dead_code)]
 // compile-flags: --edition 2018
 
 #![feature(try_blocks)]