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
The following code gives no deprecation warning on use other_crate::Thing; but also no useless_deprecated error:
mod other_crate {pubmod module {pubstructThing;}#[deprecated(note = "use the explicit path")]pubuse module::*;}use other_crate::Thing;
I think it would make sense to allow deprecation of use statements, but if there's a reason not to allow this, then useless_deprecated should be emitted.
The text was updated successfully, but these errors were encountered:
saethlin
added
C-bug
Category: This is a bug.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Sep 7, 2024
The following code gives no deprecation warning on
use other_crate::Thing;
but also nouseless_deprecated
error:I think it would make sense to allow deprecation of use statements, but if there's a reason not to allow this, then
useless_deprecated
should be emitted.The text was updated successfully, but these errors were encountered: