Auto merge of #45033 - eddyb:capture-me-not, r=nikomatsakis
rustc_trans: do not set NoCapture for anonymous lifetime &T arguments. This was both unsound (due to lifetime elision & unsafe code) and dead code (we erase lifetimes). r? @nikomatsakis
Showing
想要评论请 注册 或 登录