Format code
This commit is contained in:
parent
e4b954ea92
commit
3c6503eb4b
11 changed files with 134 additions and 129 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue