about summary refs log tree commit diff
path: root/src/test/ui/numeric/const-scope.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/numeric/const-scope.rs')
-rw-r--r--src/test/ui/numeric/const-scope.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/numeric/const-scope.rs b/src/test/ui/numeric/const-scope.rs
deleted file mode 100644
index 053599a9bb9..00000000000
--- a/src/test/ui/numeric/const-scope.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-const C: i32 = 1i8; //~ ERROR mismatched types
-const D: i8 = C; //~ ERROR mismatched types
-
-const fn foo() {
-    let c: i32 = 1i8; //~ ERROR mismatched types
-    let d: i8 = c; //~ ERROR mismatched types
-}
-
-fn main() {
-    let c: i32 = 1i8; //~ ERROR mismatched types
-    let d: i8 = c; //~ ERROR mismatched types
-}