about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-19 00:24:39 +0000
committerbors <bors@rust-lang.org>2019-07-19 00:24:39 +0000
commitfe499a7b34dcb1fc054dd637ea561a19a268d2de (patch)
treeb4dbe1763cb8a971531e046b3a708e78dc2f6c26 /src/libsyntax_pos
parenta3369981deff35f1c8d9a29e99358593959bd06e (diff)
parent1b4fbfca4181c6779b75a4a1dc6c8fd538d6edcc (diff)
Auto merge of #62684 - petrochenkov:scopevisit, r=davidtwco
resolve: Improve candidate search for unresolved macro suggestions

Use same scope visiting machinery for both collecting suggestion candidates and actually resolving the names.

The PR is better read in per-commit fashion with whitespace changes ignored (the first commit in particular moves some code around).

This should be the last pre-requisite for https://github.com/rust-lang/rust/pull/62086.
r? @davidtwco
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 8da3e6c19d5..f23ed7371c6 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -604,6 +604,7 @@ symbols! {
         rustc_then_this_would_need,
         rustc_variance,
         rustdoc,
+        rustfmt,
         rust_eh_personality,
         rust_eh_unwind_resume,
         rust_oom,