avoid overlapping privacy suggestion for single nested imports
This commit is contained in:
parent
09bc67b915
commit
7303014381
6 changed files with 81 additions and 25 deletions
|
@ -729,6 +729,8 @@ struct PrivacyError<'a> {
|
|||
dedup_span: Span,
|
||||
outermost_res: Option<(Res, Ident)>,
|
||||
parent_scope: ParentScope<'a>,
|
||||
/// Is the format `use a::{b,c}`?
|
||||
single_nested: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue