File tree 1 file changed +0
-17
lines changed
1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 39
39
; ; Note: You must run `cargo build` initially to install all dependencies. If
40
40
; ; you add new dependencies to `Cargo.toml` you need to run `cargo build`
41
41
; ; again. Otherwise you will see spurious errors about missing crates.
42
- ; ;
43
- ; ; This extension also provides a convenience function for looking up
44
- ; ; explanations of the compiler error under point
45
- ; ; (`flycheck-rust-explain-error' ) that is not bound by default.
46
42
47
43
; ;; Code:
48
44
@@ -165,19 +161,6 @@ Flycheck according to the Cargo project layout."
165
161
(list (expand-file-name " target/debug" root)
166
162
(expand-file-name " target/debug/deps" root)))))))
167
163
168
- ;;;### autoload
169
- (defun flycheck-rust-explain-error (error-code )
170
- " Explain ERROR-CODE by invoking `rustc --explain'.
171
-
172
- ERROR-CODE defaults to the code of the error under point."
173
- (interactive
174
- (list (let ((errors-at-point (flycheck-overlay-errors-at (point ))))
175
- (and errors-at-point (flycheck-error-id (car errors-at-point))))))
176
- (when error-code
177
- (with-help-window (get-buffer-create " *rustc-explain*" )
178
- (with-current-buffer standard-output
179
- (call-process " rustc" nil t nil " --explain" error-code)))))
180
-
181
164
(provide 'flycheck-rust )
182
165
183
166
; ;; flycheck-rust.el ends here
You can’t perform that action at this time.
0 commit comments