diff options
| author | Boxy <rust@boxyuwu.dev> | 2024-12-04 00:19:26 +0000 | 
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2024-12-04 00:19:26 +0000 | 
| commit | 52d1c30d3ee692c47691c8c96dd62368af2de9c5 (patch) | |
| tree | 0fa8b2f2835570a727bcc1ed4f3814456c340658 | |
| parent | ec036cda3fee341d938336b64bc38cd11df7231d (diff) | |
| download | rust-52d1c30d3ee692c47691c8c96dd62368af2de9c5.tar.gz rust-52d1c30d3ee692c47691c8c96dd62368af2de9c5.zip  | |
Add comment to test
| -rw-r--r-- | tests/ui/const-generics/issues/cg-in-dyn-issue-128176.rs | 3 | 
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)]  | 
