]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/must_not_suspend/ref-drop-tracking.rs
2 // compile-flags: -Zdrop-tracking
3 #![feature(must_not_suspend)]
4 #![deny(must_not_suspend)]
6 #[must_not_suspend = "You gotta use Umm's, ya know?"]
18 async
fn uhoh(&mut self) {
19 let guard
= &mut self.u
; //~ ERROR `Umm` held across