]>
git.proxmox.com Git - rustc.git/blob - tests/ui/nll/issue-48623-generator.rs
2 #![allow(path_statements)]
5 #![feature(generators, generator_trait)]
9 impl Drop
for WithDrop
{
13 fn reborrow_from_generator(r
: &mut ()) {
15 move || { d; yield; &mut *r }
; //~ WARN unused generator that must be used