pub fn feature_warn<'a>(
    sess: &'a ParseSess,
    feature: Symbol,
    span: Span,
    explain: &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.