summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-11-03 18:03:06 +0800
committerJohn Hodge <tpg@mutabah.net>2019-11-03 18:03:06 +0800
commit359b714550d2705510beaa194e693ec937de37b8 (patch)
treee509338c52986507af91a262c543669eb35f4fd0
parentce620c00008eb6cb8d9eb23a13775ec3b8127175 (diff)
downloadmrust-359b714550d2705510beaa194e693ec937de37b8.tar.gz
Resolve Use - Fix typo in setting up fast path
-rw-r--r--src/resolve/use.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/use.cpp b/src/resolve/use.cpp
index 1971d3cf..ff453e4b 100644
--- a/src/resolve/use.cpp
+++ b/src/resolve/use.cpp
@@ -25,7 +25,7 @@ void Resolve_Use_Mod(const ::AST::Crate& crate, ::AST::Module& mod, ::AST::Path
::AST::Path::Bindings Resolve_Use_GetBinding(
const Span& span, const ::AST::Crate& crate, const ::AST::Path& source_mod_path,
const ::AST::Path& path, ::std::span< const ::AST::Module* > parent_modules,
- bool types_only=true
+ bool types_only=false
);
::AST::Path::Bindings Resolve_Use_GetBinding__ext(const Span& span, const ::AST::Crate& crate, const ::AST::Path& path, const ::HIR::Module& hmodr, unsigned int start);