Closed rakanalh closed 4 years ago
What is your config? What if you delete the elc file?
@mookid i deleted the elc file and i get this error:
Before deletion:
File mode specification error: (error Autoloading file /home/rakan/.emacs.d/elpa/racer-20191001.2344/racer.elc failed to define function racer)
After:
File mode specification error: (error Autoloading file /home/rakan/.emacs.d/elpa/racer-20191001.2344/racer.el failed to define function racer)
My configs look as follows:
(use-package rust-mode)
(use-package flycheck-rust
:hook
(flycheck-mode . flycheck-rust-setup))
(use-package racer
:after rust-mode
:hook
(rust-mode . racer-mode)
(racer-mode .eldoc-mode)
(racer-mode . company-mode)
:custom
(company-tooltip-align-annotations t))
(use-package company-racer
:after racer-mode
:config
(add-to-list 'company-backends 'company-racer))
(provide 'lang-rust)
(racer-mode .eldoc-mode)
changing to (racer-mode . eldoc-mode)
should fix that.
ahh :man_facepalming:
Thanks @mookid
Hello,
I setup my emacs to use the racer package. However, when opening a rust file i get the following error:
I am using: