summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/format.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-eval/format.rs')
-rw-r--r--src/test/ui/consts/const-eval/format.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/consts/const-eval/format.rs b/src/test/ui/consts/const-eval/format.rs
deleted file mode 100644
index 0d8b7c12d..000000000
--- a/src/test/ui/consts/const-eval/format.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-const fn failure() {
- panic!("{:?}", 0);
- //~^ ERROR cannot call non-const formatting macro in constant functions
-}
-
-const fn print() {
- println!("{:?}", 0);
- //~^ ERROR cannot call non-const formatting macro in constant functions
- //~| ERROR `Arguments::<'a>::new_v1` is not yet stable as a const fn
- //~| ERROR cannot call non-const fn `_print` in constant functions
-}
-
-fn main() {}