You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What this ought to do in the long term is under discussion in #3181, but I'm pretty sure some bug broke the current behaviour.
Test case:
structFoo;implDropforFoo{fndrop(&self){error!("this oughta happen first");}}fnfoo(foo:Foo){// { use std::util; util::ignore(foo); } // this works as expectedlet _ = foo;// this doesn't// { let _ = foo; } // behaves the same as without the braceserror!("this oughta happen second");}fnmain(){foo(Foo);}
The text was updated successfully, but these errors were encountered:
What this ought to do in the long term is under discussion in #3181, but I'm pretty sure some bug broke the current behaviour.
Test case:
The text was updated successfully, but these errors were encountered: