pub static INEFFECTIVE_UNSTABLE_REEXPORTS: &LintExpand description
The ineffective_unstable_reexports lint detects #[unstable]
attributes on re-exports where the attribute does not make the
re-exported path unstable.
§Example
ⓘ
#![feature(staged_api)]
#![stable(feature = "test", since = "1.0.0")]
#[stable(feature = "test", since = "1.0.0")]
pub struct S;
#[unstable(feature = "reexport", issue = "none")]
pub use self::S as T;
fn main() {}{{produces}}
§Explanation
#[unstable] on a re-export does not make a stable path unstable
re-exports inside unstable modules are already on an unstable path