erc-mode-hook didn't work for that
Setting up GNU Global for Rust