mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-25 05:23:12 +00:00
Run cargo fmt on 1.72
This commit is contained in:
parent
3864b43d28
commit
fa76f60cc1
7 changed files with 28 additions and 18 deletions
|
|
@ -1828,7 +1828,11 @@ impl ModCollector<'_, '_> {
|
|||
let Some(paths) = attr.parse_path_comma_token_tree(db.upcast(), &hygiene) else {
|
||||
// `#[macro_use]` (without any paths) found, forget collected names and just import
|
||||
// all visible macros.
|
||||
self.def_collector.import_macros_from_extern_crate(target_crate, None, Some(extern_crate_id));
|
||||
self.def_collector.import_macros_from_extern_crate(
|
||||
target_crate,
|
||||
None,
|
||||
Some(extern_crate_id),
|
||||
);
|
||||
return;
|
||||
};
|
||||
for path in paths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue