You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #17434 - Lunaphied:fix/document-inlay-parameters, r=Veykril
docs: document omission heuristics for parameter inlay hints
These are not currently documented and could cause users to think that their rust-analyzer configuration is broken.
Partially addresses #17433.
// * the parameter name is a suffix of the function's name
464
+
// * the argument is a qualified constructing or call expression where the qualifier is an ADT
465
+
// * exact argument<->parameter match(ignoring leading underscore) or parameter is a prefix/suffix
466
+
// of argument with _ splitting it off
467
+
// * the parameter name starts with `ra_fixture`
468
+
// * the parameter name is a
469
+
// link:https://github.com/rust-lang/rust-analyzer/blob/6b8b8ff4c56118ddee6c531cde06add1aad4a6af/crates/ide/src/inlay_hints/param_name.rs#L200[well known name]
0 commit comments