Add help for invalid inline argument Fixes #101712 Removed 1 part of the test as its identical with another one. Do let me know if this is undesirable, so I can revert those changes.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.