Request: always import from core
when possible
#12979
Labels
A-completion
autocompletion
A-config
configuration
C-feature
Category: feature request
S-actionable
Someone could pick this issue up and work on it right now
Now that we no longer need to use
extern crate core
to use paths into thecore
crate, I would like an RA setting to always select thecore
path for an item whenever possible. For example, if importingDebug
, prefercore::fmt::Debug
tostd::fmt::Debug
.I often want to develop crates that are fundamentally
no_std
, but use printing during debugging, so I don't actually turn onno_std
until the moment of publishing, at which point I have to fix any imports that RA made. If RA could just always prefercore
this would help me.The text was updated successfully, but these errors were encountered: