Don't suggest importing items with hygienic names
This will potentially hide a few correct suggestions, but importing these items from another module is not generally possible.
This commit is contained in:
parent
4ecb49eba3
commit
1536d7220b
2 changed files with 3 additions and 1 deletions
|
@ -709,7 +709,7 @@ impl SyntaxContext {
|
|||
/// pub fn f() {} // `f`'s `SyntaxContext` has a single `ExpnId` from `m`.
|
||||
/// pub fn $i() {} // `$i`'s `SyntaxContext` is empty.
|
||||
/// }
|
||||
/// n(f);
|
||||
/// n!(f);
|
||||
/// macro n($j:ident) {
|
||||
/// use foo::*;
|
||||
/// f(); // `f`'s `SyntaxContext` has a mark from `m` and a mark from `n`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue