summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/panic-assoc-never-type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-eval/panic-assoc-never-type.rs')
-rw-r--r--tests/ui/consts/const-eval/panic-assoc-never-type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/panic-assoc-never-type.rs b/tests/ui/consts/const-eval/panic-assoc-never-type.rs
index 28edf5144..1abe708d1 100644
--- a/tests/ui/consts/const-eval/panic-assoc-never-type.rs
+++ b/tests/ui/consts/const-eval/panic-assoc-never-type.rs
@@ -11,5 +11,5 @@ impl PrintName {
}
fn main() {
- let _ = PrintName::VOID; //~ constant
+ let _ = PrintName::VOID; //~ erroneous constant used
}