diff --git a/runtime/compiler/rustc.vim b/runtime/compiler/rustc.vim
index b3c809198..ca261d857 100644
--- a/runtime/compiler/rustc.vim
+++ b/runtime/compiler/rustc.vim
@@ -2,6 +2,7 @@
" Compiler: Rust Compiler
" Maintainer: Chris Morgan <m...@chrismorgan.info>
" Latest Revision: 2023-09-11
+" 2025 Nov 15 by Vim project: remove test for Vim patch 7.4.191
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
if exists("current_compiler")
@@ -17,11 +18,7 @@ set cpo&vim
if get(g:, 'rustc_makeprg_no_percent', 0)
CompilerSet makeprg=rustc
else
- if has('patch-7.4.191')
- CompilerSet makeprg=rustc\ \%:S
- else
- CompilerSet makeprg=rustc\ \"%\"
- endif
+ CompilerSet makeprg=rustc\ \%:S
endif