mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix clippy::useless_conversion
This commit is contained in:
parent
451fcd3c79
commit
62ed658311
11 changed files with 25 additions and 29 deletions
|
@ -146,7 +146,7 @@ pub fn expand_eager_macro(
|
|||
if let MacroDefKind::BuiltInEager(eager, _) = def.kind {
|
||||
let res = eager.expand(db, arg_id, &subtree);
|
||||
if let Some(err) = res.err {
|
||||
diagnostic_sink(err.into());
|
||||
diagnostic_sink(err);
|
||||
}
|
||||
|
||||
let loc = MacroCallLoc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue