Merge pull request #21007 from joe-p/feat/more_param_names

Add "msg" and "op" to hidden inlay parameter names
This commit is contained in:
Chayim Refael Friedman
2025-11-10 13:33:28 +00:00
committed by Laurențiu Nicola
parent e75b572d76
commit ef17e58f2e
@@ -111,7 +111,8 @@ fn get_callable<'db>(
}
const INSIGNIFICANT_METHOD_NAMES: &[&str] = &["clone", "as_ref", "into"];
const INSIGNIFICANT_PARAMETER_NAMES: &[&str] = &["predicate", "value", "pat", "rhs", "other"];
const INSIGNIFICANT_PARAMETER_NAMES: &[&str] =
&["predicate", "value", "pat", "rhs", "other", "msg", "op"];
fn should_hide_param_name_hint(
sema: &Semantics<'_, RootDatabase>,