summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs')
-rw-r--r--src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs b/src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs
deleted file mode 100644
index 8cc4f976a..000000000
--- a/src/test/ui/lint/lint-non-snake-case-identifiers-suggestion-reserved.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-#![warn(unused)]
-#![allow(dead_code)]
-#![deny(non_snake_case)]
-
-mod Impl {}
-//~^ ERROR module `Impl` should have a snake case name
-
-fn While() {}
-//~^ ERROR function `While` should have a snake case name
-
-fn main() {
- let Mod: usize = 0;
- //~^ ERROR variable `Mod` should have a snake case name
- //~^^ WARN unused variable: `Mod`
-
- let Super: usize = 0;
- //~^ ERROR variable `Super` should have a snake case name
- //~^^ WARN unused variable: `Super`
-}