diff --git a/src/rt/memory_region.h b/src/rt/memory_region.h index ee15bf004378..3cec23641b1f 100644 --- a/src/rt/memory_region.h +++ b/src/rt/memory_region.h @@ -22,7 +22,7 @@ // hugely expensive and should only be used as a last resort. #define RUSTRT_TRACK_ALLOCATIONS 0 -class rust_env; +struct rust_env; class memory_region { private: