Skip to main content

discourage

Function discourage 

Source
const fn discourage(
    id: &'static str,
    when: &'static [Condition],
    setting: &'static str,
    avoid: &'static [Value],
    default: Value,
    basis: Basis,
    reason: &'static str,
    source: &'static str,
) -> Rule
Expand description

A discouraged choice: setting should be none of avoid; default replaces it.