mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix legacy symbol mangling of closures
This commit is contained in:
@@ -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,
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user