A nitrile is made to react with tin(II) chloride, HCl; the resulting iminium salt, with work up yields:
Hydrogen chloride(HCl) reacts with metals to form: