diff options
| author | bors <bors@rust-lang.org> | 2025-01-14 20:52:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-14 20:52:08 +0000 |
| commit | 8361aef0d7c29b1501a316a208ed84cd8a2ae5da (patch) | |
| tree | 6c1d3eef067316aa543b5dec7d45e89e8f26b285 /tests/codegen-units | |
| parent | 3736b85779d1db4c215b910004d7efcd7aff8408 (diff) | |
| parent | eb763f81a75900ef9bc7006113b7cd574a0c26a2 (diff) | |
| download | rust-8361aef0d7c29b1501a316a208ed84cd8a2ae5da.tar.gz rust-8361aef0d7c29b1501a316a208ed84cd8a2ae5da.zip | |
Auto merge of #135496 - matthiaskrgr:rollup-ps0cjzn, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #134216 (Enable "jump to def" feature on patterns) - #134880 (Made `Path::name` only have item name rather than full name) - #135466 (Leak check in `impossible_predicates` to avoid monomorphizing impossible instances) - #135476 (Remove remnant of asmjs) - #135479 (mir borrowck: cleanup late-bound region handling) - #135493 (Fix legacy symbol mangling of closures) - #135495 (Add missing closing backtick in commit hook message 🐸) r? `@ghost` `@rustbot` modify labels: rollup
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, +{ +} |
