mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Share import_assets and related entities
This commit is contained in:
parent
3782c78d75
commit
6742f38e49
20 changed files with 411 additions and 332 deletions
|
@ -15,6 +15,12 @@ use syntax::{
|
|||
};
|
||||
use test_utils::mark;
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub struct InsertUseConfig {
|
||||
pub merge: Option<MergeBehavior>,
|
||||
pub prefix_kind: hir::PrefixKind,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum ImportScope {
|
||||
File(ast::SourceFile),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue