Automatically adding use imports should always go below inner attributes #688
Labels
enhancement
Something new the playground could do
help wanted
Not immediately going to be prioritized — ask for mentoring instructions!
If in the playground you use a type that is not in scope, the compiler helpfully outputs some options to use:
However, if you click on one of those (and you happen to be using some
inner attributes
such as#[no_std]
or a#[feature(...)]
then thatuse
statement is still added before that attribute and the compiler complains about it the next time you build/run.It would be great if the
use
statement was added after the attribute.The text was updated successfully, but these errors were encountered: