diff --git a/tests/ui/assertions_on_constants.stderr b/tests/ui/assertions_on_constants.stderr index c22da856975c..7fcda709ec33 100644 --- a/tests/ui/assertions_on_constants.stderr +++ b/tests/ui/assertions_on_constants.stderr @@ -47,14 +47,5 @@ LL | assert!(C); | = help: use `panic!()` or `unreachable!()` -error: `assert!(true)` will be optimized out by the compiler - --> $DIR/assertions_on_constants.rs:20:5 - | -LL | debug_assert!(true); - | ^^^^^^^^^^^^^^^^^^^^ - | - = help: remove it - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) - -error: aborting due to 7 previous errors +error: aborting due to 6 previous errors