Skip to content

Commit

Permalink
Format clippy bug comments on the same line as the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 12, 2024
1 parent c9c26d5 commit cc6fc0d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions gen/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
clippy::toplevel_ref_arg,
clippy::uninlined_format_args,
clippy::upper_case_acronyms,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
clippy::wrong_self_convention
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
)]

mod cargo;
Expand Down
3 changes: 1 addition & 2 deletions gen/cmd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
clippy::too_many_arguments,
clippy::too_many_lines,
clippy::toplevel_ref_arg,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
clippy::wrong_self_convention
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
)]

mod app;
Expand Down
3 changes: 1 addition & 2 deletions gen/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
clippy::too_many_lines,
clippy::toplevel_ref_arg,
clippy::uninlined_format_args,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
clippy::wrong_self_convention
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
)]

mod error;
Expand Down
3 changes: 1 addition & 2 deletions macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
clippy::toplevel_ref_arg,
clippy::uninlined_format_args,
clippy::useless_let_if_seq,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
clippy::wrong_self_convention
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
)]

mod derive;
Expand Down

0 comments on commit cc6fc0d

Please sign in to comment.