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
Using "Remove all the unused imports" on this code:
mod m {pubmod x {pubstructA;pubstructB;}pubmod y {pubstructC;}}use m::{
x::{A,B},
y::C,};fnmain(){B;}
turns the import into
use m::
x::B,;
I think there must have been some recent change where braces around single imports are now automatically removed because I don't remember this happening before, and it isn't broken on the stable release.