]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/must_not_suspend/trait.rs
2 #![feature(must_not_suspend)]
3 #![deny(must_not_suspend)]
10 fn r
#impl() -> impl Wow {
14 fn r
#dyn() -> Box<dyn Wow> {
21 let _guard1
= r
#impl(); //~ ERROR implementer of `Wow` held across
22 let _guard2
= r
#dyn(); //~ ERROR boxed `Wow` trait object held across