Use a LocalDefId in ResolvedArg.
For more information about how rustc works, see the rustc dev guide.