Make `rust-mode` derive from `prog-mode` if available