mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
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:
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>,
|
||||
|
||||
Reference in New Issue
Block a user