Commit graph

2 commits

Author SHA1 Message Date
moxian
2031a180b7 Properly handle imports ending in ::self 2025-03-31 04:07:29 -07:00
moxian
a70aedada5 Add a split-use pass.
It transforms "use std::io::{Read, Write}" into
"use std::io::Read; use std::io::Write"

Which later allows to remove just precisely the statements
we do not need, and leave rest be.

The test from the last commit does not pass, but that
is seemingly to do with the test harness setup, since it
works fine locally.
2025-03-31 04:07:28 -07:00