Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gcc/rust/rust-session-manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -612,13 +612,13 @@ Session::compile_crate (const char *filename)
if (last_step == CompileOptions::CompileStep::Expansion)
return;

AST::CollectLangItems ().go (parsed_crate);

auto name_resolution_ctx = Resolver2_0::NameResolutionContext ();
// expansion pipeline stage

expansion (parsed_crate, name_resolution_ctx);

AST::CollectLangItems ().go (parsed_crate);

rust_debug ("\033[0;31mSUCCESSFULLY FINISHED EXPANSION \033[0m");
if (options.dump_option_enabled (CompileOptions::EXPANSION_DUMP))
{
Expand Down
Loading