summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/promoted_errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-eval/promoted_errors.rs')
-rw-r--r--tests/ui/consts/const-eval/promoted_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/promoted_errors.rs b/tests/ui/consts/const-eval/promoted_errors.rs
index 2c42d0356..5e67dc6f6 100644
--- a/tests/ui/consts/const-eval/promoted_errors.rs
+++ b/tests/ui/consts/const-eval/promoted_errors.rs
@@ -48,5 +48,5 @@ const Y: () = {
};
fn main() {
- let _y = Y;
+ Y;
}