Skip to content

flycheck/flycheck-rust

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

flycheck-rust — Flycheck for Rust

Build Status License GPL 3 MELPA

This Flycheck extension configures Flycheck automatically for the current Cargo project.

Setup

Install from MELPA or MELPA Stable.

If you use Cask:

(source gnu)
(source melpa)

(depends-on "flycheck-rust")

Then, in your init.el:

(with-eval-after-load 'rust-mode
  (add-hook 'flycheck-mode-hook #'flycheck-rust-setup))

Usage

Just use Flycheck as usual in your Rust/Cargo projects. flycheck-rust-setup will call cargo to determine your project layout and set the variables needed by the rust-cargo checker to properly check your buffer.

You may also want to have a look at flycheck/flycheck-inline, which works well with diagnostics emitted by Rust.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

See COPYING for details.

About

Better Rust/Cargo support for Flycheck

Resources

License

Stars

Watchers

Forks

Packages

No packages published