mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
cargo fmt
This commit is contained in:
parent
aabd41cafc
commit
5ac6804bb3
9 changed files with 38 additions and 61 deletions
|
@ -101,12 +101,7 @@ impl Diagnostic {
|
|||
S: MultiSpan,
|
||||
T: Into<String>,
|
||||
{
|
||||
Diagnostic {
|
||||
level,
|
||||
message: message.into(),
|
||||
spans: spans.into_spans(),
|
||||
children: vec![],
|
||||
}
|
||||
Diagnostic { level, message: message.into(), spans: spans.into_spans(), children: vec![] }
|
||||
}
|
||||
|
||||
diagnostic_child_methods!(span_error, error, Level::Error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue