Reformat use
declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
This commit is contained in:
parent
118f9350c5
commit
84ac80f192
1865 changed files with 8367 additions and 9199 deletions
|
@ -1,8 +1,9 @@
|
|||
use crate::lints::UnitBindingsDiag;
|
||||
use crate::{LateLintPass, LintContext};
|
||||
use rustc_hir as hir;
|
||||
use rustc_session::{declare_lint, declare_lint_pass};
|
||||
|
||||
use crate::lints::UnitBindingsDiag;
|
||||
use crate::{LateLintPass, LintContext};
|
||||
|
||||
declare_lint! {
|
||||
/// The `unit_bindings` lint detects cases where bindings are useless because they have
|
||||
/// the unit type `()` as their inferred type. The lint is suppressed if the user explicitly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue