The use foo is no longer allowed when foo is part of the current crate. This has been the standard ever since 2018 edition. use crate::foo is a preferred method.
Use search/replace to replace:
use enc:: -> use crate::enc::
use concat:: -> use crate::concat::
use VERSION -> use crate::VERSION
::interface to crate::interface (both strings start with a space)
Run just fmt2 to reorg use statements to new groups.
The
use foo
is no longer allowed whenfoo
is part of the current crate. This has been the standard ever since 2018 edition.use crate::foo
is a preferred method.use enc::
->use crate::enc::
use concat::
->use crate::concat::
use VERSION
->use crate::VERSION
::interface
tocrate::interface
(both strings start with a space)just fmt2
to reorg use statements to new groups.