diff options
-rw-r--r-- | src/hir/expr_ptr.hpp | 2 | ||||
-rw-r--r-- | src/mir/cleanup.cpp | 2 | ||||
-rw-r--r-- | vsproject/mrustc.vcxproj | 1 | ||||
-rw-r--r-- | vsproject/mrustc.vcxproj.filters | 3 |
4 files changed, 2 insertions, 6 deletions
diff --git a/src/hir/expr_ptr.hpp b/src/hir/expr_ptr.hpp index b510e737..2f0f30e4 100644 --- a/src/hir/expr_ptr.hpp +++ b/src/hir/expr_ptr.hpp @@ -12,7 +12,7 @@ #include <mir/mir_ptr.hpp> -class Span; +struct Span; namespace HIR { diff --git a/src/mir/cleanup.cpp b/src/mir/cleanup.cpp index 37d256df..eae24031 100644 --- a/src/mir/cleanup.cpp +++ b/src/mir/cleanup.cpp @@ -1218,7 +1218,7 @@ void MIR_Cleanup(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path, void MIR_CleanupCrate(::HIR::Crate& crate) { - ::MIR::OuterVisitor ov { crate, [&](const auto& res, const auto& p, auto& expr_ptr, const auto& args, const auto& ty){ + ::MIR::OuterVisitor ov { crate, [&](const auto& res, const auto& p, ::HIR::ExprPtr& expr_ptr, const auto& args, const auto& ty){ MIR_Cleanup(res, p, expr_ptr.get_mir_or_error_mut(Span()), args, ty); } }; ov.visit_crate(crate); diff --git a/vsproject/mrustc.vcxproj b/vsproject/mrustc.vcxproj index 13c4a23e..234ce37b 100644 --- a/vsproject/mrustc.vcxproj +++ b/vsproject/mrustc.vcxproj @@ -206,7 +206,6 @@ <ClCompile Include="..\src\hir_conv\resolve_ufcs.cpp" /> <ClCompile Include="..\src\hir_expand\annotate_value_usage.cpp" /> <ClCompile Include="..\src\hir_expand\closures.cpp" /> - <ClCompile Include="..\src\hir_expand\const_eval_full.cpp" /> <ClCompile Include="..\src\hir_expand\erased_types.cpp" /> <ClCompile Include="..\src\hir_expand\reborrow.cpp" /> <ClCompile Include="..\src\hir_expand\ufcs_everything.cpp" /> diff --git a/vsproject/mrustc.vcxproj.filters b/vsproject/mrustc.vcxproj.filters index 755013af..cedc5fd1 100644 --- a/vsproject/mrustc.vcxproj.filters +++ b/vsproject/mrustc.vcxproj.filters @@ -98,9 +98,6 @@ <ClCompile Include="..\src\hir_expand\closures.cpp"> <Filter>Source Files\hir_expand</Filter> </ClCompile> - <ClCompile Include="..\src\hir_expand\const_eval_full.cpp"> - <Filter>Source Files\hir_expand</Filter> - </ClCompile> <ClCompile Include="..\src\hir_conv\bind.cpp"> <Filter>Source Files\hir_conv</Filter> </ClCompile> |