1
Fork 0

Format code

This commit is contained in:
Mateusz Mikuła 2018-05-22 10:21:42 +02:00 committed by Mateusz Mikuła
parent e4b954ea92
commit 3c6503eb4b
11 changed files with 134 additions and 129 deletions

View file

@ -15,7 +15,9 @@ pub fn plugin_registrar(reg: &mut Registry) {
reg.sess.lint_store.with_read_lock(|lint_store| {
for (lint, _, _) in lint_store.get_lint_groups() {
reg.sess
.struct_warn("the clippy plugin is being deprecated, please use cargo clippy or rls with the clippy feature")
.struct_warn(
"the clippy plugin is being deprecated, please use cargo clippy or rls with the clippy feature",
)
.emit();
if lint == "clippy" {
// cargo clippy run on a crate that also uses the plugin