mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
fix diagnostic message style
Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
This commit is contained in:
parent
9428138562
commit
032bc11fd4
@ -55,7 +55,7 @@ impl LateLintPass<'_> for DefaultConstructedUnitStruct {
|
||||
cx,
|
||||
DEFAULT_CONSTRUCTED_UNIT_STRUCT,
|
||||
qpath.last_segment_span(),
|
||||
"Use of `default` to create a unit struct.",
|
||||
"use of `default` to create a unit struct",
|
||||
"remove this call to `default`",
|
||||
String::new(),
|
||||
Applicability::MachineApplicable,
|
||||
|
Loading…
Reference in New Issue
Block a user