]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/try-operator-hygiene.rs
Various minor/cosmetic improvements to code
[rust.git] / src / test / run-pass / try-operator-hygiene.rs
index 53d6185020a0235ffb5f16b691780e4d66548f20..2771ab4233f9618ce4f4336d9f59265ea8c616c7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(non_upper_case_globals)]
+#![allow(dead_code)]
 // `expr?` expands to:
 //
 // match expr {
@@ -15,7 +17,7 @@
 //     Err(err) => return Err(From::from(err)),
 // }
 //
-// This test verifies that the expansion is hygienic, i.e. it's not affected by other `val` and
+// This test verifies that the expansion is hygienic, i.e., it's not affected by other `val` and
 // `err` bindings that may be in scope.
 
 use std::num::ParseIntError;