pub fn feature_warn(
sess: &Session,
feature: Symbol,
span: Span,
explain: &'static str,
)
Expand description
Construct a future incompatibility diagnostic for a feature gate.
This diagnostic is only a warning and does not cause compilation to fail.