summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-11-23 17:48:18 +0800
committerJohn Hodge <tpg@mutabah.net>2019-11-23 17:48:18 +0800
commitdef2d171c3d963f68fdd6ddd6f4fe569c9edabb9 (patch)
tree54b5c1a6821fc3384e813d44196993966fe19aaf /src/main.cpp
parentbfc90119d8fdfbd2e1a4935d1d73d4b19198fe0d (diff)
downloadmrust-def2d171c3d963f68fdd6ddd6f4fe569c9edabb9.tar.gz
Resolve UFCS - Move all "Outer" logic to resolve_ufcs.cpp, and switch to using that instead (also includes changes to align the two files)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0002e1a8..83ddc4c1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -517,6 +517,9 @@ int main(int argc, char *argv[])
CompilePhaseV("Resolve HIR Markings", [&]() {
ConvertHIR_Markings(*hir_crate);
});
+ CompilePhaseV("Sort Impls", [&]() {
+ ConvertHIR_ResolveUFCS_SortImpls(*hir_crate);
+ });
// Determine what trait to use for <T>::Foo in outer scope
CompilePhaseV("Resolve UFCS Outer", [&]() {
ConvertHIR_ResolveUFCS_Outer(*hir_crate);