Rust-specific emacs compilation regexp

Fix #6887