about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2024-12-04 00:19:26 +0000
committerBoxy <rust@boxyuwu.dev>2024-12-04 00:19:26 +0000
commit52d1c30d3ee692c47691c8c96dd62368af2de9c5 (patch)
tree0fa8b2f2835570a727bcc1ed4f3814456c340658
parentec036cda3fee341d938336b64bc38cd11df7231d (diff)
downloadrust-52d1c30d3ee692c47691c8c96dd62368af2de9c5.tar.gz
rust-52d1c30d3ee692c47691c8c96dd62368af2de9c5.zip
Add comment to test
-rw-r--r--tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs b/tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs
index d163238c6d5..5a67d34d6e5 100644
--- a/tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs
+++ b/tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs
@@ -1,6 +1,7 @@
 //@ check-pass
 
-// Regression test for #128176.
+// Regression test for #128176. Previously we would call `type_of` on the `1` anon const
+// before the anon const had been lowered and had the `type_of` fed with a result.
 
 #![feature(generic_const_exprs)]
 #![feature(dyn_compatible_for_dispatch)]