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.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/consts/const-eval/format.rs b/src/test/ui/consts/const-eval/format.rs
index 3eef0d6c3..0d8b7c12d 100644
--- a/src/test/ui/consts/const-eval/format.rs
+++ b/src/test/ui/consts/const-eval/format.rs
@@ -1,8 +1,6 @@
const fn failure() {
panic!("{:?}", 0);
//~^ ERROR cannot call non-const formatting macro in constant functions
- //~| ERROR erroneous constant used
- //~| ERROR erroneous constant used
}
const fn print() {
@@ -10,8 +8,6 @@ const fn print() {
//~^ 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
- //~| ERROR erroneous constant used
- //~| ERROR erroneous constant used
}
fn main() {}