We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4b15c commit 5fb06c9Copy full SHA for 5fb06c9
gcc/rust/rust-session-manager.cc
@@ -18,6 +18,7 @@
18
19
#include "rust-session-manager.h"
20
#include "rust-collect-lang-items.h"
21
+#include "rust-desugar-for-loops.h"
22
#include "rust-diagnostics.h"
23
#include "rust-hir-pattern-analysis.h"
24
#include "rust-immutable-name-resolution-context.h"
@@ -614,6 +615,9 @@ Session::compile_crate (const char *filename)
614
615
// expansion pipeline stage
616
617
expansion (parsed_crate, name_resolution_ctx);
618
+
619
+ AST::DesugarForLoops ().go (parsed_crate);
620
621
rust_debug ("\033[0;31mSUCCESSFULLY FINISHED EXPANSION \033[0m");
622
if (options.dump_option_enabled (CompileOptions::EXPANSION_DUMP))
623
{
0 commit comments