diff --git a/modules/lang/rust/doctor.el b/modules/lang/rust/doctor.el index a102042da..e68ab1f6e 100644 --- a/modules/lang/rust/doctor.el +++ b/modules/lang/rust/doctor.el @@ -5,8 +5,8 @@ (featurep! :tools lsp)) "This module requires (:tools lsp)") -(unless (executable-find "rust") - (warn! "Couldn't find rust binary")) +(unless (executable-find "rustc") + (warn! "Couldn't find rustc binary")) (unless (executable-find "cargo") (warn! "Couldn't find cargo binary"))