diff options
| author | Michael Goulet <michael@errs.io> | 2025-01-14 16:32:17 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-01-14 16:33:03 +0000 |
| commit | faafa5c3107344adc5e57dd6d6dc74e019bd7daf (patch) | |
| tree | 6247aab15e33818ec17d2b5799cf86f8a6bc4c9b /tests/codegen-units | |
| parent | 2ae9916816a448fcaab3b2da461de754eda0055a (diff) | |
Fix legacy symbol mangling of closures
Diffstat (limited to 'tests/codegen-units')
| -rw-r--r-- | tests/codegen-units/item-collection/closures.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/codegen-units/item-collection/closures.rs b/tests/codegen-units/item-collection/closures.rs index 5fc80230925..864f98817a8 100644 --- a/tests/codegen-units/item-collection/closures.rs +++ b/tests/codegen-units/item-collection/closures.rs @@ -10,3 +10,9 @@ pub async fn async_fn() {} pub fn closure() { let _ = || {}; } + +//~ MONO_ITEM fn A::{constant#0}::{closure#0} @@ +trait A where + [(); (|| {}, 1).1]: Sized, +{ +} |
